From 78a3eec9be053a1f82cf2e6235bbaa4deb4a1335 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 28 Feb 2024 18:29:02 +0100 Subject: switch to using unqualified calls to {move,forward,swap} --- src/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object.cpp') 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(r) = new_r; const_cast(c) = &c2; i = (size_t)std::distance(es.cbegin(), it); - arrayInsert(es, i, std::move(e_)); + arrayInsert(es, i, move(e_)); } } -- cgit v1.2.3