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

summaryrefslogtreecommitdiff
path: root/source/game/scripting/StarLuaAnimationComponent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/scripting/StarLuaAnimationComponent.hpp')
-rw-r--r--source/game/scripting/StarLuaAnimationComponent.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/scripting/StarLuaAnimationComponent.hpp b/source/game/scripting/StarLuaAnimationComponent.hpp
index 0cbd280..21742fb 100644
--- a/source/game/scripting/StarLuaAnimationComponent.hpp
+++ b/source/game/scripting/StarLuaAnimationComponent.hpp
@@ -69,7 +69,7 @@ LuaAnimationComponent<Base>::LuaAnimationComponent() {
if (auto image = drawable.part.ptr<Drawable::ImagePart>())
image->transformation.scale(0.125f);
- m_drawables.append({move(drawable), renderLayer});
+ m_drawables.append({std::move(drawable), renderLayer});
});
animationCallbacks.registerCallback("clearLightSources", [this]() {
m_lightSources.clear();
@@ -84,7 +84,7 @@ LuaAnimationComponent<Base>::LuaAnimationComponent() {
lightSourceTable.get<Maybe<float>>("beamAmbience").value()
});
});
- Base::addCallbacks("localAnimator", move(animationCallbacks));
+ Base::addCallbacks("localAnimator", std::move(animationCallbacks));
}
template <typename Base>