summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_tile.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-02-11 12:17:33 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-02-11 12:17:33 +0100
commit5726d2b357c1617891df5d19160d0e6478aa0e0e (patch)
tree3d0461d5c81085390e9e951f58008c2dbf44ae70 /src/mbgl/annotation/annotation_tile.cpp
parentbd08984713c4dff30e5a157c0881019b85106f84 (diff)
downloadqtlocation-mapboxgl-5726d2b357c1617891df5d19160d0e6478aa0e0e.tar.gz
[core] use std::move() to prevent copies
Diffstat (limited to 'src/mbgl/annotation/annotation_tile.cpp')
-rw-r--r--src/mbgl/annotation/annotation_tile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/annotation_tile.cpp b/src/mbgl/annotation/annotation_tile.cpp
index a4590ffe30..3a038cc6eb 100644
--- a/src/mbgl/annotation/annotation_tile.cpp
+++ b/src/mbgl/annotation/annotation_tile.cpp
@@ -10,7 +10,7 @@ AnnotationTileFeature::AnnotationTileFeature(FeatureType type_, GeometryCollecti
std::unordered_map<std::string, std::string> properties_)
: type(type_),
properties(std::move(properties_)),
- geometries(geometries_) {}
+ geometries(std::move(geometries_)) {}
optional<Value> AnnotationTileFeature::getValue(const std::string& key) const {
auto it = properties.find(key);