summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/geometry_tile.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-11-11 17:24:40 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-11-14 10:35:15 +0100
commita7fa97e8a36bec7c5d6ec5ae43203012e3357cd9 (patch)
treea75e058ff6780a763454336bf93a18aadf793acb /src/mbgl/tile/geometry_tile.hpp
parent35a66eb2bd9c5d0f1da3a90b1e44ba75114a800a (diff)
downloadqtlocation-mapboxgl-a7fa97e8a36bec7c5d6ec5ae43203012e3357cd9.tar.gz
[core] don't run symbol placement more often than necessary
Diffstat (limited to 'src/mbgl/tile/geometry_tile.hpp')
-rw-r--r--src/mbgl/tile/geometry_tile.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/tile/geometry_tile.hpp b/src/mbgl/tile/geometry_tile.hpp
index cb3ca54633..86243e8a09 100644
--- a/src/mbgl/tile/geometry_tile.hpp
+++ b/src/mbgl/tile/geometry_tile.hpp
@@ -61,7 +61,6 @@ public:
public:
std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets;
std::unique_ptr<CollisionTile> collisionTile;
- PlacementConfig placedConfig;
uint64_t correlationID;
};
void onPlacement(PlacementResult);
@@ -79,7 +78,7 @@ private:
Actor<GeometryTileWorker> worker;
uint64_t correlationID = 0;
- optional<PlacementConfig> placedConfig;
+ optional<PlacementConfig> requestedConfig;
std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets;
std::unique_ptr<FeatureIndex> featureIndex;