maths: make almost_equal constexper for integers

This commit is contained in:
Danny Robson 2017-06-13 14:18:32 +10:00
parent ae40b163e5
commit f50c77425d

View File

@ -94,7 +94,7 @@ namespace util {
//-----------------------------------------------------------------------------
template <typename Ta, typename Tb>
inline
constexpr inline
typename std::enable_if<
!std::is_arithmetic<Ta>::value ||
!std::is_arithmetic<Tb>::value,