summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-05-09 11:55:40 +0200
committerworktycho <work.tycho@gmail.com>2015-05-09 11:55:40 +0200
commit4dcd9a99245e6059d3f16723d1353efaa495ca08 (patch)
tree81a9fe6a261834b981724502c194e98a5fb64269
parentMerge pull request #1968 from SafwatHalaby/patch-2 (diff)
downloadcuberite-4dcd9a99245e6059d3f16723d1353efaa495ca08.tar
cuberite-4dcd9a99245e6059d3f16723d1353efaa495ca08.tar.gz
cuberite-4dcd9a99245e6059d3f16723d1353efaa495ca08.tar.bz2
cuberite-4dcd9a99245e6059d3f16723d1353efaa495ca08.tar.lz
cuberite-4dcd9a99245e6059d3f16723d1353efaa495ca08.tar.xz
cuberite-4dcd9a99245e6059d3f16723d1353efaa495ca08.tar.zst
cuberite-4dcd9a99245e6059d3f16723d1353efaa495ca08.zip
-rw-r--r--src/Vector3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Vector3.h b/src/Vector3.h
index ed3f296a6..84e9183be 100644
--- a/src/Vector3.h
+++ b/src/Vector3.h
@@ -81,14 +81,14 @@ public:
inline bool HasNonZeroLength(void) const
{
#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 != 0) || (y != 0) || (z != 0));
#ifdef __clang__
- #pragma clang diagnostics pop
+ #pragma clang diagnostic pop
#endif
}