summaryrefslogtreecommitdiff
path: root/src/moapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/moapplication.cpp')
-rw-r--r--src/moapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moapplication.cpp b/src/moapplication.cpp
index a92be85e..e676436a 100644
--- a/src/moapplication.cpp
+++ b/src/moapplication.cpp
@@ -439,7 +439,7 @@ void MOApplication::externalMessage(const QString& message)
}
}
-std::unique_ptr<Instance> MOApplication::getCurrentInstance(bool forceSelect)
+std::shared_ptr<Instance> MOApplication::getCurrentInstance(bool forceSelect)
{
auto& m = InstanceManager::singleton();
auto currentInstance = m.currentInstance();