diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-07-23 08:54:16 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-07-24 15:07:02 +0300 |
commit | adc138c7a8477e447e0a477ea87821e453548905 (patch) | |
tree | d4cf327ba3c71061df701f95651d3a9ea495d759 /benchmark | |
parent | cafecd3f6fedc16e7bf5dff699960978c3b5cb3d (diff) | |
download | qtlocation-mapboxgl-adc138c7a8477e447e0a477ea87821e453548905.tar.gz |
[core] Force getGeometries() return const ref
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp b/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp index bff1a23ba8..b8f2ffb5b9 100644 --- a/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp +++ b/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp @@ -35,7 +35,7 @@ public: return properties.count(key) ? properties.at(key) : optional<Value>(); } - GeometryCollection getGeometries() const override { + const GeometryCollection& getGeometries() const override { return geometry; } }; |