diff options
Diffstat (limited to 'src/mbgl/tile/vector_tile_data.cpp')
-rw-r--r-- | src/mbgl/tile/vector_tile_data.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/tile/vector_tile_data.cpp b/src/mbgl/tile/vector_tile_data.cpp index d53f1deba6..c317525bb9 100644 --- a/src/mbgl/tile/vector_tile_data.cpp +++ b/src/mbgl/tile/vector_tile_data.cpp @@ -23,7 +23,7 @@ FeatureType VectorTileFeature::getType() const { optional<Value> VectorTileFeature::getValue(const std::string& key) const { const optional<Value> value(feature.getValue(key)); - return value->is<NullValue>() ? nullopt : std::move(value); + return value->is<NullValue>() ? nullopt : value; } const PropertyMap& VectorTileFeature::getProperties() const { |