Fix MSVC warning: redefinition of default template parameter

The default values for template parameters don't have to be repeated in
the .cxx file, apparently.
This commit is contained in:
Florent Rougon
2017-05-03 19:11:30 +02:00
parent 1e99c4b2ec
commit d6b57d0937

View File

@@ -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<std::is_integral<T>::value, T>::type >
template<class T, int BASE, typename>
T readNonNegativeInt(const std::string& s)
{
static_assert(0 < BASE,