diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-07-24 18:19:00 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-07-25 17:36:35 +0300 |
commit | 273ad436fb4d2a18c6749bd4e40fa56546e9285c (patch) | |
tree | ba1c66084f43adb5d9a66c48279723fc62d35288 /src/mbgl/tile/geojson_tile_data.hpp | |
parent | e6e1e15f950dc246e609cf4acf5b9d6ca13f8806 (diff) | |
download | qtlocation-mapboxgl-273ad436fb4d2a18c6749bd4e40fa56546e9285c.tar.gz |
[core] Avoid copying feature properties
Diffstat (limited to 'src/mbgl/tile/geojson_tile_data.hpp')
-rw-r--r-- | src/mbgl/tile/geojson_tile_data.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/tile/geojson_tile_data.hpp b/src/mbgl/tile/geojson_tile_data.hpp index 21a65144d9..5559965cd7 100644 --- a/src/mbgl/tile/geojson_tile_data.hpp +++ b/src/mbgl/tile/geojson_tile_data.hpp @@ -17,7 +17,7 @@ public: return apply_visitor(ToFeatureType(), feature.geometry); } - PropertyMap getProperties() const override { + const PropertyMap& getProperties() const override { return feature.properties; } |