summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/app.cpp')
-rw-r--r--editor/app.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index 80f7600c..699d3abc 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -16,7 +16,7 @@ app::app() :
{
}
-app::~app()
+app::~app() // NOLINT(modernize-use-equals-default)
{
}
@@ -85,9 +85,11 @@ int app::run_from_argv(const int argc, const char* const* const argv)
}
int ret;
+ Pointer<floormat_main> ptr;
{
app application;
ret = application.exec();
+ ptr = std::move(application.M);
}
loader_::destroy();
return ret;