1
0
Fork 0

clang diagnostic not diagnostics

fixed clang pragmas
This commit is contained in:
worktycho 2015-05-09 10:55:40 +01:00
parent a30fb91a13
commit 4dcd9a9924
1 changed files with 3 additions and 3 deletions

View File

@ -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
}