Fix usage of enable_if with GCC 8
Seems like the trick with the three dots isn't working with GCC 8 anymore. So let's make it a default template parameter then. Not sure whether GCC 8 is here correct and whether this workaround causes further trouble.
This commit is contained in:
parent
c54c4e0188
commit
a7bdc00112
|
@ -279,7 +279,7 @@ inline void printProperty(
|
|||
}
|
||||
}
|
||||
|
||||
template <typename NumberType, Traits::EnableIfAny<std::is_integral<NumberType>, std::is_floating_point<NumberType>>...>
|
||||
template <typename NumberType, Traits::EnableIfAny<std::is_integral<NumberType>, std::is_floating_point<NumberType>>* = nullptr>
|
||||
inline void printProperty(
|
||||
const char *propName, const NumberType value, const char *suffix = nullptr, bool force = false, ApplicationUtilities::Indentation indentation = 4)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue