0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +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>
typename std::enable_if
<
is_floating<T>(),
is_floating<T>() &&
!is_bool<T>(),
bool>::type
test(const double &value)
const