diff options
author | zmiao <zmiao.jamie@gmail.com> | 2019-09-06 22:03:25 +0300 |
---|---|---|
committer | zmiao <zmiao.jamie@gmail.com> | 2019-09-17 14:24:30 +0300 |
commit | 791b23381c3aef682ca59ec9264ed879fe2b7eaa (patch) | |
tree | c21c59906883e663b382e25b29586bb1386848d2 | |
parent | 44f45fbfd9eb26c378cb83ed1baac192aefcde06 (diff) | |
download | qtlocation-mapboxgl-791b23381c3aef682ca59ec9264ed879fe2b7eaa.tar.gz |
[core] std::move input value
-rw-r--r-- | src/mbgl/style/sources/vector_source.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/sources/vector_source.cpp b/src/mbgl/style/sources/vector_source.cpp index 5b5196ea2c..a30400e9af 100644 --- a/src/mbgl/style/sources/vector_source.cpp +++ b/src/mbgl/style/sources/vector_source.cpp @@ -14,8 +14,8 @@ namespace style { VectorSource::VectorSource(std::string id, variant<std::string, Tileset> urlOrTileset_, optional<float> maxZoom_, optional<float> minZoom_) : Source(makeMutable<Impl>(std::move(id))), urlOrTileset(std::move(urlOrTileset_)), - maxZoom(maxZoom_), - minZoom(minZoom_) { + maxZoom(std::move(maxZoom_)), + minZoom(std::move(minZoom_)) { } VectorSource::~VectorSource() = default; |