summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-28 18:29:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-28 20:13:32 +0100
commit78a3eec9be053a1f82cf2e6235bbaa4deb4a1335 (patch)
tree4539ba47695bc7b5fd974e2508067cb2fd168636 /editor/app.cpp
parent75508e3c03f659080df7db2211fb5a80cc1afeee (diff)
switch to using unqualified calls to {move,forward,swap}
Diffstat (limited to 'editor/app.cpp')
-rw-r--r--editor/app.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index aa655612..db395b98 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -13,7 +13,6 @@
#include <cstring>
#include <Corrade/Containers/StringIterable.h>
#include <Corrade/Utility/Arguments.h>
-#include <Corrade/Utility/Move.h>
namespace floormat {
@@ -95,7 +94,7 @@ void app::reset_world(class world&& w_)
_render_vobjs = true;
_render_all_z_levels = true;
- auto& w = M->reset_world(Utility::move(w_));
+ auto& w = M->reset_world(move(w_));
w.collect(true);
ensure_player_character(w);
update_cursor_tile(pixel);
@@ -186,7 +185,7 @@ int app::run_from_argv(const int argc, const char* const* const argv)
opts.argv = argv;
opts.argc = argc;
- struct app* A = new app{Utility::move(opts)};
+ struct app* A = new app{move(opts)};
floormat_main* M = A->M;
fm_assert(M != nullptr);
ret = A->exec();