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/RedstoneComparatorHandler.h | |
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/RedstoneComparatorHandler.h')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h index 1d5f16e9a..78854f2c4 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h @@ -46,7 +46,7 @@ public: auto RearCoordinate = cBlockComparatorHandler::GetRearCoordinate(a_Position, a_Meta & 0x3); m_World.DoWithBlockEntityAt(RearCoordinate.x, RearCoordinate.y, RearCoordinate.z, CCB); auto RearPower = CCB.m_SignalStrength; - auto PotentialSourceHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData())); + auto PotentialSourceHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData()); if (PotentialSourceHandler != nullptr) { BLOCKTYPE Type; @@ -83,7 +83,7 @@ public: UNUSED(a_BlockType); auto RearCoordinate = cBlockComparatorHandler::GetRearCoordinate(a_Position, a_Meta & 0x3); - auto PotentialSourceHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData())); + auto PotentialSourceHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData()); if (PotentialSourceHandler != nullptr) { BLOCKTYPE Type; |