summaryrefslogtreecommitdiff
path: root/test/sprite
diff options
context:
space:
mode:
Diffstat (limited to 'test/sprite')
-rw-r--r--test/sprite/sprite_store.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sprite/sprite_store.cpp b/test/sprite/sprite_store.cpp
index fd8f3616f5..574af51b81 100644
--- a/test/sprite/sprite_store.cpp
+++ b/test/sprite/sprite_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;
@@ -156,7 +157,7 @@ struct SpriteParams {
class SpriteThread : public SpriteStore::Observer {
public:
- SpriteThread(FileSource* fileSource, SpriteTestCallback callback) : callback_(callback) {
+ SpriteThread(FileSource* fileSource, SpriteTestCallback callback) : callback_(std::move(callback)) {
util::ThreadContext::setFileSource(fileSource);
}