diff options
Diffstat (limited to 'src/mbgl/geometry/feature_index.hpp')
-rw-r--r-- | src/mbgl/geometry/feature_index.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mbgl/geometry/feature_index.hpp b/src/mbgl/geometry/feature_index.hpp index 739c1f282f..cd041a7fdb 100644 --- a/src/mbgl/geometry/feature_index.hpp +++ b/src/mbgl/geometry/feature_index.hpp @@ -28,15 +28,17 @@ public: , bucketLeaderID(std::move(bucketName_)) , sortIndex(sortIndex_) , bucketInstanceId(0) + , collisionGroupId(0) {} - IndexedSubfeature(const IndexedSubfeature& other, uint32_t bucketInstanceId_) + IndexedSubfeature(const IndexedSubfeature& other, uint32_t bucketInstanceId_, uint16_t collisionGroupId_) : index(other.index) , sourceLayerName(other.sourceLayerName) , bucketLeaderID(other.bucketLeaderID) , sortIndex(other.sortIndex) , bucketInstanceId(bucketInstanceId_) + , collisionGroupId(collisionGroupId_) {} size_t index; std::string sourceLayerName; @@ -45,6 +47,7 @@ public: // Only used for symbol features uint32_t bucketInstanceId; + uint16_t collisionGroupId; }; class FeatureIndex { |