Eliminate some unnecessary pointer indirection
Buckets had a pointer to the associated layout type, when they can just have a direct member.
This commit is contained in:
@@ -48,7 +48,6 @@ public:
|
||||
|
||||
private:
|
||||
bool obsolete() const;
|
||||
void parseStyleLayers(util::ptr<const StyleLayerGroup> group);
|
||||
|
||||
std::unique_ptr<Bucket> createBucket(const StyleBucket&);
|
||||
std::unique_ptr<Bucket> createFillBucket(const GeometryTileLayer&, const StyleBucket&);
|
||||
@@ -58,7 +57,6 @@ private:
|
||||
template <class Bucket>
|
||||
void addBucketGeometries(Bucket&, const GeometryTileLayer&, const FilterExpression&);
|
||||
|
||||
private:
|
||||
const GeometryTile& geometryTile;
|
||||
VectorTileData& tile;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user