diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 09:47:10 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 09:47:10 +1100 |
commit | 1c89042016c739815b2d70bcbef4673eef6b63e0 (patch) | |
tree | f7c8e96e744222857c613e5fd14720d2695613c3 /source/game/StarTechController.cpp | |
parent | 30e1871d3f44629e00a1f66d8164e3e62c7f889f (diff) | |
parent | 7c4fbad2ba7d79580a9ebbf9fde1de117be4d08e (diff) |
Merge pull request #19 from kblaschke/fix-compiler-warnings
Fixed a huge amount of Clang warnings
Diffstat (limited to 'source/game/StarTechController.cpp')
-rw-r--r-- | source/game/StarTechController.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/game/StarTechController.cpp b/source/game/StarTechController.cpp index f99a718..4ead428 100644 --- a/source/game/StarTechController.cpp +++ b/source/game/StarTechController.cpp @@ -277,7 +277,7 @@ List<Drawable> TechController::backDrawables() { if (animator->isVisible()) { for (auto& piece : animator->animator.drawablesWithZLevel(m_movementController->position())) { if (piece.second < 0.0f) - drawables.append(move(piece.first)); + drawables.append(std::move(piece.first)); } } } @@ -292,7 +292,7 @@ List<Drawable> TechController::frontDrawables() { if (animator->isVisible()) { for (auto& piece : animator->animator.drawablesWithZLevel(m_movementController->position())) { if (piece.second >= 0.0f) - drawables.append(move(piece.first)); + drawables.append(std::move(piece.first)); } } } @@ -346,7 +346,7 @@ Maybe<Json> TechController::receiveMessage(String const& message, bool localMess } TechController::TechAnimator::TechAnimator(Maybe<String> ac) { - animationConfig = move(ac); + animationConfig = std::move(ac); animator = animationConfig ? NetworkedAnimator(*animationConfig) : NetworkedAnimator(); netGroup.addNetElement(&animator); netGroup.addNetElement(&visible); @@ -511,7 +511,7 @@ LuaCallbacks TechController::makeTechCallbacks(TechModule& techModule) { DirectivesGroup newParentDirectives; for (auto& module : m_techModules) newParentDirectives.append(module.parentDirectives); - m_parentDirectives.set(move(newParentDirectives)); + m_parentDirectives.set(std::move(newParentDirectives)); }); callbacks.registerCallback("setParentHidden", [this](bool hidden) { |