summaryrefslogtreecommitdiff
path: root/src/mbgl/tile
diff options
context:
space:
mode:
authorAnsis Brammanis <ansis@mapbox.com>2018-05-17 14:29:00 -0400
committerAnsis Brammanis <ansis.brammanis@gmail.com>2018-05-22 14:58:11 -0400
commitba07c873aa2c4bd8ef1b185660f6feeb4b12483e (patch)
treec2f771f37c1b3b22c95f4d8b7a8439da446440b0 /src/mbgl/tile
parent5e36f669acd756d26e2dfa6db1a2a94bd1ceb701 (diff)
downloadqtlocation-mapboxgl-ba07c873aa2c4bd8ef1b185660f6feeb4b12483e.tar.gz
[core] re-assign ids when lng jumps to avoid flicker
Diffstat (limited to 'src/mbgl/tile')
-rw-r--r--src/mbgl/tile/tile.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/tile/tile.hpp b/src/mbgl/tile/tile.hpp
index 23d6864205..2182ec722f 100644
--- a/src/mbgl/tile/tile.hpp
+++ b/src/mbgl/tile/tile.hpp
@@ -113,7 +113,7 @@ public:
void dumpDebugLogs() const;
- const OverscaledTileID id;
+ OverscaledTileID id;
optional<Timestamp> modified;
optional<Timestamp> expires;