diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 09:49:42 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 09:49:42 +1100 |
commit | aa987a217779e71f97ee4c9cce531aec1c861bf8 (patch) | |
tree | e51fcce110306d93bf93870f13a5ff7d6b575427 /source/game/scripting/StarLuaAnimationComponent.hpp | |
parent | d0099a6d790b66f21e4e266e569d64fb82fb0a81 (diff) | |
parent | 1c89042016c739815b2d70bcbef4673eef6b63e0 (diff) |
Merge branch 'main' into small-fixes
Diffstat (limited to 'source/game/scripting/StarLuaAnimationComponent.hpp')
-rw-r--r-- | source/game/scripting/StarLuaAnimationComponent.hpp | 4 |
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> |