Remove unnecessary instantiations

This commit is contained in:
Victor Zverovich 2018-03-04 15:14:02 -08:00
parent 7755cdc199
commit 585512fc7c

View File

@ -455,15 +455,6 @@ struct convert_to_int {
}; };
}; };
#define FMT_DISABLE_CONVERSION_TO_INT(Type) \
template <typename Char> \
struct convert_to_int<Type, Char> { enum { value = 0 }; }
// Silence warnings about convering float to int.
FMT_DISABLE_CONVERSION_TO_INT(float);
FMT_DISABLE_CONVERSION_TO_INT(double);
FMT_DISABLE_CONVERSION_TO_INT(long double);
template <typename Char> template <typename Char>
struct string_value { struct string_value {
const Char *value; const Char *value;