diff options
Diffstat (limited to '')
-rw-r--r-- | src/Vector3.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Vector3.h b/src/Vector3.h index 089120cab..346bc1bbb 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 } @@ -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 } |