summaryrefslogtreecommitdiffhomepage
path: root/src/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp2
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_));
}
}