diff options
author | Aki <please@ignore.pl> | 2022-04-20 01:02:18 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-20 01:02:18 +0200 |
commit | 97048f6c42ebcecd765403f51811cfb212952654 (patch) | |
tree | 9db5397f6c9a05d22f5957cfa5257c6c1c443ac8 /TestStage.cpp | |
parent | fd9232b3d3a3aee28a5965a5ebc4077f8db7c652 (diff) | |
download | bullethell2022-97048f6c42ebcecd765403f51811cfb212952654.zip bullethell2022-97048f6c42ebcecd765403f51811cfb212952654.tar.gz bullethell2022-97048f6c42ebcecd765403f51811cfb212952654.tar.bz2 |
Removed pointless move
Diffstat (limited to 'TestStage.cpp')
-rw-r--r-- | TestStage.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/TestStage.cpp b/TestStage.cpp index 13cfb65..00c27e1 100644 --- a/TestStage.cpp +++ b/TestStage.cpp @@ -1,7 +1,5 @@ #include "TestStage.h" -#include <utility> - #include "EnemyFactory.h" @@ -10,11 +8,11 @@ TestStage::TestStage() : m_const {} { m_enemies.reserve(5); - m_enemies.push_back(std::move(EnemyFactory::make_example(m_const.m_bullets, 300, -10, 0))); - m_enemies.push_back(std::move(EnemyFactory::make_example(m_const.m_bullets, 500, -10, 0, true))); - m_enemies.push_back(std::move(EnemyFactory::make_example(m_const.m_bullets, 400, -10, 10))); - m_enemies.push_back(std::move(EnemyFactory::make_example(m_const.m_bullets, 550, -10, 20))); - m_enemies.push_back(std::move(EnemyFactory::make_example(m_const.m_bullets, 250, -10, 20, true))); + m_enemies.push_back(EnemyFactory::make_example(m_const.m_bullets, 300, -10, 0)); + m_enemies.push_back(EnemyFactory::make_example(m_const.m_bullets, 500, -10, 0, true)); + m_enemies.push_back(EnemyFactory::make_example(m_const.m_bullets, 400, -10, 10)); + m_enemies.push_back(EnemyFactory::make_example(m_const.m_bullets, 550, -10, 20)); + m_enemies.push_back(EnemyFactory::make_example(m_const.m_bullets, 250, -10, 20, true)); } |