maths: make almost_equal constexper for integers
This commit is contained in:
parent
ae40b163e5
commit
f50c77425d
@ -94,7 +94,7 @@ namespace util {
|
|||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
template <typename Ta, typename Tb>
|
template <typename Ta, typename Tb>
|
||||||
inline
|
constexpr inline
|
||||||
typename std::enable_if<
|
typename std::enable_if<
|
||||||
!std::is_arithmetic<Ta>::value ||
|
!std::is_arithmetic<Ta>::value ||
|
||||||
!std::is_arithmetic<Tb>::value,
|
!std::is_arithmetic<Tb>::value,
|
||||||
|
Loading…
Reference in New Issue
Block a user