summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-05-09 11:59:08 +0200
committerworktycho <work.tycho@gmail.com>2015-05-09 11:59:08 +0200
commite2e206d81bad6c8624fb81ef46a6c81a69792f15 (patch)
tree1a8a92ac0f8c0993f3323a8aee67c298dbfa3835
parentclang diagnostic not diagnostics (diff)
downloadcuberite-e2e206d81bad6c8624fb81ef46a6c81a69792f15.tar
cuberite-e2e206d81bad6c8624fb81ef46a6c81a69792f15.tar.gz
cuberite-e2e206d81bad6c8624fb81ef46a6c81a69792f15.tar.bz2
cuberite-e2e206d81bad6c8624fb81ef46a6c81a69792f15.tar.lz
cuberite-e2e206d81bad6c8624fb81ef46a6c81a69792f15.tar.xz
cuberite-e2e206d81bad6c8624fb81ef46a6c81a69792f15.tar.zst
cuberite-e2e206d81bad6c8624fb81ef46a6c81a69792f15.zip
Diffstat (limited to '')
-rw-r--r--src/Vector3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Vector3.h b/src/Vector3.h
index 84e9183be..f051ce2d2 100644
--- a/src/Vector3.h
+++ b/src/Vector3.h
@@ -137,14 +137,14 @@ public:
// To perform EPS-based comparison, use the EqualsEps() function
#ifdef __clang__
- #pragma clang diagnostics push
- #pragma clang diagnostics ignored "-Wfloat-equal"
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wfloat-equal"
#endif
return !((x != a_Rhs.x) || (y != a_Rhs.y) || (z != a_Rhs.z));
#ifdef __clang__
- #pragma clang diagnostics pop
+ #pragma clang diagnostic pop
#endif
}