summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-01-13 15:51:00 -0800
committerKonstantin Käfer <mail@kkaefer.com>2016-01-14 10:52:13 +0100
commit4f08ef150d8844f233e49805c30713b3e9070afc (patch)
treed3779097c8f3548318a0031fff5ccebda8630576 /src
parentff8b014c5b87737fd937bc982427238f00b81c68 (diff)
downloadqtlocation-mapboxgl-4f08ef150d8844f233e49805c30713b3e9070afc.tar.gz
[core] Fixed build error in Xcode 7.3
Removed std::move() call per Xcode fix-it suggestion.
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/style/style_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/style_parser.cpp b/src/mbgl/style/style_parser.cpp
index 3a94160710..88d644f517 100644
--- a/src/mbgl/style/style_parser.cpp
+++ b/src/mbgl/style/style_parser.cpp
@@ -237,7 +237,7 @@ std::unique_ptr<SourceInfo> StyleParser::parseTileJSON(const JSValue& value) {
parseTileJSONMember(value, info->attribution, "attribution");
parseTileJSONMember(value, info->center, "center");
parseTileJSONMember(value, info->bounds, "bounds");
- return std::move(info);
+ return info;
}
void StyleParser::parseLayers(const JSValue& value) {