summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-15 19:27:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-15 19:27:53 +0100
commit785293f4bf1beec65d23be0612e545e4c26ec366 (patch)
treef250c34d82977116498b8049c8055fc3981478ab /main/main-impl.cpp
parenta5acc700d6a3a9b050864cf78a0f9f2305babdff (diff)
b
Diffstat (limited to 'main/main-impl.cpp')
-rw-r--r--main/main-impl.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/main/main-impl.cpp b/main/main-impl.cpp
index ae074a49..cb74de85 100644
--- a/main/main-impl.cpp
+++ b/main/main-impl.cpp
@@ -1,7 +1,5 @@
#include "main-impl.hpp"
-#include "compat/assert.hpp"
-#include <cstdlib>
-#include <cstdio>
+#include <Corrade/Utility/Move.h>
#include <Magnum/Platform/Sdl2Application.h>
namespace floormat {
@@ -37,8 +35,7 @@ int main_impl::exec()
floormat_main* floormat_main::create(floormat_app& app, fm_settings&& options)
{
- auto* ret = new main_impl(app, std::move(options), options.argc, const_cast<char**>(options.argv));
- fm_assert(ret);
+ auto* ret = new main_impl(app, Utility::move(options), options.argc, const_cast<char**>(options.argv));
return ret;
}