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