diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-28 18:29:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-28 20:13:32 +0100 |
commit | 78a3eec9be053a1f82cf2e6235bbaa4deb4a1335 (patch) | |
tree | 4539ba47695bc7b5fd974e2508067cb2fd168636 /src/object.cpp | |
parent | 75508e3c03f659080df7db2211fb5a80cc1afeee (diff) |
switch to using unqualified calls to {move,forward,swap}
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.cpp b/src/object.cpp index 307a2155..550f8a6b 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -258,7 +258,7 @@ void object::move_to(size_t& i, Vector2i delta, rotation new_r) const_cast<rotation&>(r) = new_r; const_cast<class chunk*&>(c) = &c2; i = (size_t)std::distance(es.cbegin(), it); - arrayInsert(es, i, std::move(e_)); + arrayInsert(es, i, move(e_)); } } |