summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-12-19 23:17:31 +0100
committerworktycho <work.tycho@gmail.com>2015-12-19 23:17:31 +0100
commitbb79b5f43691aeeeb44fd3459464f5ae591a993d (patch)
treebdd074dd9d0bacb7000402b78ac8fe5dc7a7cdd2 /src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
parentHTTPS Newsletter (diff)
parentFixes for clang-3.7 (diff)
downloadcuberite-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/RedstoneWireHandler.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
index fbf6eb646..697bbe7dd 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
@@ -37,7 +37,7 @@ public:
cVector3iArray RelativePositions;
bool IsYPTerracingBlocked = cBlockInfo::IsSolid(m_World.GetBlock(a_Position + OffsetYP()));
- for (const auto Adjacent : GetRelativeLaterals())
+ for (const auto & Adjacent : GetRelativeLaterals())
{
if (
!IsYPTerracingBlocked &&