summaryrefslogtreecommitdiff
path: root/src/mbgl/style/parser.cpp
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-05-04 19:21:08 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-05-08 19:39:55 +0300
commit6fd40867d67eb3758c0eb8eca184ed9d7b9da5b0 (patch)
tree36fede4f7dfeb01a6835f53a185dad47f3153481 /src/mbgl/style/parser.cpp
parentfeae5e22ee4910a1508f2120c8131b2f8531bae8 (diff)
downloadqtlocation-mapboxgl-6fd40867d67eb3758c0eb8eca184ed9d7b9da5b0.tar.gz
[core] delegate light changes to render light
Diffstat (limited to 'src/mbgl/style/parser.cpp')
-rw-r--r--src/mbgl/style/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/parser.cpp b/src/mbgl/style/parser.cpp
index c407e438fb..fc3ccf410b 100644
--- a/src/mbgl/style/parser.cpp
+++ b/src/mbgl/style/parser.cpp
@@ -120,7 +120,7 @@ void Parser::parseLight(const JSValue& value) {
return;
}
- light = *converted;
+ light = std::move(*converted);
}
void Parser::parseSources(const JSValue& value) {