diff options
Diffstat (limited to 'src/mbgl')
-rw-r--r-- | src/mbgl/style/expression/within.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/expression/within.cpp b/src/mbgl/style/expression/within.cpp index 7dc55eda7f..18d24b9250 100644 --- a/src/mbgl/style/expression/within.cpp +++ b/src/mbgl/style/expression/within.cpp @@ -165,7 +165,7 @@ ParseResult Within::parse(const Convertible& value, ParsingContext& ctx) { mbgl::Feature f(geometrySet); PolygonFeature polyFeature(f, CanonicalTileID(0, 0, 0)); auto refinedGeoSet = convertGeometry(polyFeature, CanonicalTileID(0, 0, 0)); - return ParseResult(std::make_unique<Within>(*parsedValue, refinedGeoSet)); + return ParseResult(std::make_unique<Within>(*parsedValue, std::move(refinedGeoSet))); }, [&ctx](const auto&) { ctx.error("'within' expression requires geojson source that contains valid geometry data."); |