diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-15 18:31:47 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-15 18:31:47 +0100 |
commit | 05f6826cca6f644444ddb6aaede4955500d48f3b (patch) | |
tree | 4f6cceeb705dd7bf616a8317601fddb7cd496632 /main | |
parent | 73abf154e82546256f4a860c666f1f652767bda9 (diff) |
a
Diffstat (limited to 'main')
-rw-r--r-- | main/main-impl.hpp | 2 | ||||
-rw-r--r-- | main/setup.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp index ddb16e81..9e8527ad 100644 --- a/main/main-impl.hpp +++ b/main/main-impl.hpp @@ -34,7 +34,7 @@ struct main_impl final : Platform::Sdl2Application, floormat_main struct world& world() noexcept override; struct world& reset_world() noexcept override; - struct world& reset_world(struct world) noexcept override; + struct world& reset_world(struct world&& w) noexcept override; SDL_Window* window() noexcept override; fm_settings& settings() noexcept override; diff --git a/main/setup.cpp b/main/setup.cpp index 1f0adcb4..0212d4fc 100644 --- a/main/setup.cpp +++ b/main/setup.cpp @@ -103,7 +103,7 @@ struct world& main_impl::reset_world() noexcept return reset_world(floormat::world{}); } -struct world& main_impl::reset_world(struct world w) noexcept +struct world& main_impl::reset_world(struct world&& w) noexcept { _clickable_scenery.clear(); _world = std::move(w); |