diff options
Diffstat (limited to 'src/mbgl/text/cross_tile_symbol_index.cpp')
-rw-r--r-- | src/mbgl/text/cross_tile_symbol_index.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/text/cross_tile_symbol_index.cpp b/src/mbgl/text/cross_tile_symbol_index.cpp index 76697fb62a..1eddc08146 100644 --- a/src/mbgl/text/cross_tile_symbol_index.cpp +++ b/src/mbgl/text/cross_tile_symbol_index.cpp @@ -76,8 +76,7 @@ CrossTileSymbolLayerIndex::CrossTileSymbolLayerIndex(uint32_t& maxCrossTileID_) * so that they match the new wrapped version of the map. */ void CrossTileSymbolLayerIndex::handleWrapJump(float newLng) { - - const int wrapDelta = ::round((newLng - lng) / 360); + const int wrapDelta = std::round((newLng - lng) / 360); if (wrapDelta != 0) { std::map<uint8_t, std::map<OverscaledTileID,TileLayerIndex>> newIndexes; for (auto& zoomIndex : indexes) { |