summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-02-10 17:46:42 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-11 02:24:50 +0100
commit6aa1d13508fb851e576eac4120b000e06d1a3101 (patch)
tree5ef260cf99dae038051f7284dcb86a721d5fa408 /src/Simulator
parentFix march=native not being enabled (diff)
downloadcuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.gz
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.bz2
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.lz
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.xz
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.zst
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h
index 2f827206f..dc97a34d4 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h
@@ -36,12 +36,6 @@ inline void InvokeForAdjustedRelatives(ForEachSourceCallback & Callback, const V
}
}
-// Warning shouldn't trigger for inline variables, this is fixed in clang 7
-#ifdef __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wmissing-variable-declarations"
-#endif
-
inline constexpr Vector3i OffsetYP{ 0, 1, 0 };
inline constexpr Vector3i OffsetYM{ 0, -1, 0 };
@@ -67,7 +61,3 @@ inline constexpr std::array<Vector3i, 4> RelativeLaterals
{ 0, 0, -1 },
}
};
-
-#ifdef __clang__
-#pragma clang diagnostic pop
-#endif