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:
parent
ed637d48f0
commit
b3b11fab7d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue