diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-08-11 11:21:18 -0700 |
---|---|---|
committer | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2016-08-18 14:26:04 +0200 |
commit | 106dd460fe4f09336470ee46e3e9759d331ec20c (patch) | |
tree | 83eb854b97ab4b9942ba314adebad8ab32686c83 /platform | |
parent | 6856722b1ed940799fa627506d210e5f0a309227 (diff) | |
download | qtlocation-mapboxgl-106dd460fe4f09336470ee46e3e9759d331ec20c.tar.gz |
[ios, macos] Fixed compiler warning about std::move
Fixes #5943.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/darwin/src/MGLStyle.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLStyle.mm b/platform/darwin/src/MGLStyle.mm index 39b66acd7a..d40bce063d 100644 --- a/platform/darwin/src/MGLStyle.mm +++ b/platform/darwin/src/MGLStyle.mm @@ -142,7 +142,7 @@ static NSURL *MGLStyleURL_emerald; - (void)addSource:(MGLSource *)source { - self.mapView.mbglMap->addSource(std::move([source mbgl_source])); + self.mapView.mbglMap->addSource([source mbgl_source]); } - (void)removeSource:(MGLSource *)source |