[core] Force getGeometries() return const ref

This commit is contained in:
Alexander Shalamov
2019-07-23 08:54:16 +03:00
committed by Mikhail Pozdnyakov
parent 6798d21eda
commit 852fef66ef
14 changed files with 33 additions and 25 deletions

View File

@@ -33,7 +33,7 @@ public:
return properties.count(key) ? properties.at(key) : optional<Value>();
}
GeometryCollection getGeometries() const override {
const GeometryCollection& getGeometries() const override {
return geometry;
}
};