diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-05-13 17:13:31 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-05-15 10:55:58 -0700 |
commit | 867555b1c9ef51fec23ce77c682cf7d5b5a23c5e (patch) | |
tree | de380cbb7f5553282b081dce9202cbe9e502ebe5 /src/mbgl/text/placement.hpp | |
parent | 1a9e93e8d5fc6fd027160b3126eab03d0809ca69 (diff) | |
download | qtlocation-mapboxgl-867555b1c9ef51fec23ce77c682cf7d5b5a23c5e.tar.gz |
[core] add gfx::UploadPass, split startRender into prepare and uploadupstream/gfx-refactor-7
Diffstat (limited to 'src/mbgl/text/placement.hpp')
-rw-r--r-- | src/mbgl/text/placement.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/text/placement.hpp b/src/mbgl/text/placement.hpp index 3f2a7b8a03..10ed642c4e 100644 --- a/src/mbgl/text/placement.hpp +++ b/src/mbgl/text/placement.hpp @@ -105,8 +105,8 @@ public: void setStale(); const RetainedQueryData& getQueryData(uint32_t bucketInstanceId) const; - using VariableOffsets = std::reference_wrapper<const std::unordered_map<uint32_t, VariableOffset>>; - VariableOffsets getVariableOffsets() const { return std::cref(variableOffsets); } + using VariableOffsets = std::unordered_map<uint32_t, VariableOffset>; + const VariableOffsets& getVariableOffsets() const { return variableOffsets; } private: void placeLayerBucket( |