diff --git a/simgear/misc/strutils.cxx b/simgear/misc/strutils.cxx index 6c9feb80..1f854ef6 100644 --- a/simgear/misc/strutils.cxx +++ b/simgear/misc/strutils.cxx @@ -409,10 +409,7 @@ namespace simgear { std::string numerationBaseAdjective<16>() { return std::string("hexadecimal"); } - template< - class T, - int BASE = 10, - typename = typename std::enable_if::value, T>::type > + template T readNonNegativeInt(const std::string& s) { static_assert(0 < BASE,