0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-01 19:22:53 +01:00

ircd::util: Fix conditions for is_zero template test.

This commit is contained in:
Jason Volk 2018-04-11 19:37:42 -07:00
parent ed637d48f0
commit b3b11fab7d

View file

@ -296,7 +296,8 @@ struct is_zero
template<class T> template<class T>
typename std::enable_if typename std::enable_if
< <
is_floating<T>(), is_floating<T>() &&
!is_bool<T>(),
bool>::type bool>::type
test(const double &value) test(const double &value)
const const