The territory borders no longer appear on OSX with the latest xCode.
This seems to be because the copy-constructor in CTerritoryBoundaryCalculator::ComputeBoundaries, specifically grid(*territory) gets inlined with the latest Apple clang, and this somehow goes wrong and does nothing. Calling the copy operator explicitly after construction worked.
My best guess is that Clang assumes, since m_W and m_H aren't initialized, that the checks we do in the copy operator are UB and it can assume they're equal or something. Value-initializing them is cleaner and fixes the issue.
@leper or @echotangoecho , if you have an actual explanation for this I'm interested.