diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-12-19 17:10:51 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-01-04 17:38:33 -0800 |
commit | 0c0064c050396eae8dad92e5097692537405704a (patch) | |
tree | 5eb3c975fc4295b7fcbc244258f8facbc1f7e30a /src/mbgl/tile/geometry_tile.hpp | |
parent | 59803d3025683a255737b5ae29bd7fc531a975a3 (diff) | |
download | qtlocation-mapboxgl-0c0064c050396eae8dad92e5097692537405704a.tar.gz |
[core] Get rid of user-specified refs
Diffstat (limited to 'src/mbgl/tile/geometry_tile.hpp')
-rw-r--r-- | src/mbgl/tile/geometry_tile.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/tile/geometry_tile.hpp b/src/mbgl/tile/geometry_tile.hpp index 86243e8a09..993f7b018e 100644 --- a/src/mbgl/tile/geometry_tile.hpp +++ b/src/mbgl/tile/geometry_tile.hpp @@ -50,7 +50,7 @@ public: class LayoutResult { public: - std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets; + std::unordered_map<std::string, std::shared_ptr<Bucket>> buckets; std::unique_ptr<FeatureIndex> featureIndex; std::unique_ptr<GeometryTileData> tileData; uint64_t correlationID; @@ -59,7 +59,7 @@ public: class PlacementResult { public: - std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets; + std::unordered_map<std::string, std::shared_ptr<Bucket>> buckets; std::unique_ptr<CollisionTile> collisionTile; uint64_t correlationID; }; @@ -80,7 +80,7 @@ private: uint64_t correlationID = 0; optional<PlacementConfig> requestedConfig; - std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets; + std::unordered_map<std::string, std::shared_ptr<Bucket>> buckets; std::unique_ptr<FeatureIndex> featureIndex; std::unique_ptr<const GeometryTileData> data; }; |