diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-12-01 16:45:39 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-12-03 15:38:36 +0100 |
commit | dc620f48de48d500298044d8da0ba946b3b0c566 (patch) | |
tree | 60110336706627dea9f18821f5d8fc6e9713210a /test/api/annotations.cpp | |
parent | e12cd6aef4858b09c8ca449e779a58d15e878932 (diff) | |
download | qtlocation-mapboxgl-dc620f48de48d500298044d8da0ba946b3b0c566.tar.gz |
[core] Fix std::move() misuse that disables copy elision
Diffstat (limited to 'test/api/annotations.cpp')
-rw-r--r-- | test/api/annotations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/annotations.cpp b/test/api/annotations.cpp index 5c4e201fd7..d944887f20 100644 --- a/test/api/annotations.cpp +++ b/test/api/annotations.cpp @@ -36,7 +36,7 @@ PremultipliedImage render(Map& map) { map.renderStill([&](std::exception_ptr, PremultipliedImage&& image) { promise.set_value(std::move(image)); }); - return std::move(promise.get_future().get()); + return promise.get_future().get(); } void checkRendering(Map& map, const char * name) { |