diff options
author | worktycho <work.tycho@gmail.com> | 2015-12-19 23:17:31 +0100 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-12-19 23:17:31 +0100 |
commit | bb79b5f43691aeeeb44fd3459464f5ae591a993d (patch) | |
tree | bdd074dd9d0bacb7000402b78ac8fe5dc7a7cdd2 /src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp | |
parent | HTTPS Newsletter (diff) | |
parent | Fixes for clang-3.7 (diff) | |
download | cuberite-bb79b5f43691aeeeb44fd3459464f5ae591a993d.tar cuberite-bb79b5f43691aeeeb44fd3459464f5ae591a993d.tar.gz cuberite-bb79b5f43691aeeeb44fd3459464f5ae591a993d.tar.bz2 cuberite-bb79b5f43691aeeeb44fd3459464f5ae591a993d.tar.lz cuberite-bb79b5f43691aeeeb44fd3459464f5ae591a993d.tar.xz cuberite-bb79b5f43691aeeeb44fd3459464f5ae591a993d.tar.zst cuberite-bb79b5f43691aeeeb44fd3459464f5ae591a993d.zip |
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp index f0a913757..95329f496 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp +++ b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp @@ -124,7 +124,7 @@ void cIncrementalRedstoneSimulator::Simulate(float a_dt) continue; } - auto CurrentHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, CurrentBlock, &m_Data)); + auto CurrentHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, CurrentBlock, &m_Data); if (CurrentHandler == nullptr) { continue; @@ -141,7 +141,7 @@ void cIncrementalRedstoneSimulator::Simulate(float a_dt) } m_World.GetBlockTypeMeta(Location.x, Location.y, Location.z, PotentialBlock, PotentialMeta); - auto PotentialSourceHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, PotentialBlock, &m_Data)); + auto PotentialSourceHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, PotentialBlock, &m_Data); if (PotentialSourceHandler == nullptr) { continue; |