diff options
Diffstat (limited to 'src/mbgl/layout/symbol_feature.hpp')
-rw-r--r-- | src/mbgl/layout/symbol_feature.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layout/symbol_feature.hpp b/src/mbgl/layout/symbol_feature.hpp index 72f613d4b6..2c952fc12a 100644 --- a/src/mbgl/layout/symbol_feature.hpp +++ b/src/mbgl/layout/symbol_feature.hpp @@ -20,7 +20,7 @@ public: optional<Value> getValue(const std::string& key) const override { return feature->getValue(key); }; std::unordered_map<std::string,Value> getProperties() const override { return feature->getProperties(); }; FeatureIdentifier getID() const override { return feature->getID(); }; - GeometryCollection getGeometries() const override { return geometry; }; + const GeometryCollection& getGeometries() const override { return geometry; }; friend bool operator < (const SymbolFeature& lhs, const SymbolFeature& rhs) { return lhs.sortKey < rhs.sortKey; |