Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/interfaces/StarWorld.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/interfaces/StarWorld.hpp')
-rw-r--r--source/game/interfaces/StarWorld.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/game/interfaces/StarWorld.hpp b/source/game/interfaces/StarWorld.hpp
index 9c97be5..e1986fa 100644
--- a/source/game/interfaces/StarWorld.hpp
+++ b/source/game/interfaces/StarWorld.hpp
@@ -216,7 +216,7 @@ List<shared_ptr<EntityT>> World::query(RectF const& boundBox, EntityFilterOf<Ent
forEachEntity(boundBox, [&](EntityPtr const& entity) {
if (auto e = as<EntityT>(entity)) {
if (!selector || selector(e))
- list.append(move(e));
+ list.append(std::move(e));
}
});
@@ -239,9 +239,9 @@ List<shared_ptr<EntityT>> World::lineQuery(
Vec2F const& begin, Vec2F const& end, EntityFilterOf<EntityT> selector) const {
List<shared_ptr<EntityT>> list;
forEachEntityLine(begin, end, [&](EntityPtr entity) {
- if (auto e = as<EntityT>(move(entity))) {
+ if (auto e = as<EntityT>(std::move(entity))) {
if (!selector || selector(e))
- list.append(move(e));
+ list.append(std::move(e));
}
});
@@ -253,7 +253,7 @@ List<shared_ptr<EntityT>> World::atTile(Vec2I const& pos) const {
List<shared_ptr<EntityT>> list;
forEachEntityAtTile(pos, [&](TileEntityPtr const& entity) {
if (auto e = as<EntityT>(entity))
- list.append(move(e));
+ list.append(std::move(e));
});
return list;
}