summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-12-01 17:45:21 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-12-03 15:38:36 +0100
commit478472e501a6aa579174f547277176c19104deb1 (patch)
tree12f9852c9c64725f8bbded04ee916c720fdf9dd8 /test/style
parentd5fb535058d4d97567b08064e0203f45c2c8370f (diff)
downloadqtlocation-mapboxgl-478472e501a6aa579174f547277176c19104deb1.tar.gz
[core] add std::move to constructors
Diffstat (limited to 'test/style')
-rw-r--r--test/style/glyph_store.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/style/glyph_store.cpp b/test/style/glyph_store.cpp
index 8d7c2aeefa..4524716212 100644
--- a/test/style/glyph_store.cpp
+++ b/test/style/glyph_store.cpp
@@ -7,6 +7,7 @@
#include <mbgl/util/async_task.hpp>
#include <mbgl/util/run_loop.hpp>
#include <mbgl/util/thread.hpp>
+#include <utility>
using namespace mbgl;
@@ -20,7 +21,7 @@ struct GlyphStoreParams {
class GlyphStoreThread : public GlyphStore::Observer {
public:
- GlyphStoreThread(FileSource* fileSource, GlyphStoreTestCallback callback) : callback_(callback) {
+ GlyphStoreThread(FileSource* fileSource, GlyphStoreTestCallback callback) : callback_(std::move(callback)) {
util::ThreadContext::setFileSource(fileSource);
}