summaryrefslogtreecommitdiffstats
path: root/src/gui/ThreadedLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ThreadedLoader.cpp')
-rw-r--r--src/gui/ThreadedLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp
index 37636c42..93c97cbd 100644
--- a/src/gui/ThreadedLoader.cpp
+++ b/src/gui/ThreadedLoader.cpp
@@ -32,7 +32,7 @@ namespace GUI {
ThreadedLoader::ThreadedLoader(App& app, SPtr<Interface> engine)
: _app(app)
, _sem(0)
- , _engine(engine)
+ , _engine(std::move(engine))
, _exit_flag(false)
, _thread(&ThreadedLoader::run, this)
{