diff options
Diffstat (limited to 'editor/app.cpp')
| -rw-r--r-- | editor/app.cpp | 4 |
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; |
