summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.cpp
diff options
context:
space:
mode:
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;
}