diff options
Diffstat (limited to 'boost/functional/hash/detail/hash_float.hpp')
-rw-r--r-- | boost/functional/hash/detail/hash_float.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/functional/hash/detail/hash_float.hpp b/boost/functional/hash/detail/hash_float.hpp index 9fb8168459..1816c57e9a 100644 --- a/boost/functional/hash/detail/hash_float.hpp +++ b/boost/functional/hash/detail/hash_float.hpp @@ -241,7 +241,7 @@ namespace boost template <class T> inline bool is_zero(T v) { -#if !defined(__GNUC__) +#if !defined(__GNUC__) && !defined(__clang__) return v == 0; #else // GCC's '-Wfloat-equal' will complain about comparing |