Remove unneeded specialization

This commit is contained in:
Victor Zverovich 2023-05-13 07:33:10 -07:00
parent eaa6307691
commit aeedac5884
2 changed files with 2 additions and 3 deletions

View File

@ -2705,7 +2705,6 @@ FMT_FORMAT_AS(short, int);
FMT_FORMAT_AS(unsigned short, unsigned);
FMT_FORMAT_AS(long, long long);
FMT_FORMAT_AS(unsigned long, unsigned long long);
FMT_FORMAT_AS(Char*, const Char*);
FMT_FORMAT_AS(std::basic_string<Char>, basic_string_view<Char>);
FMT_FORMAT_AS(std::nullptr_t, const void*);
FMT_FORMAT_AS(detail::std_string_view<Char>, basic_string_view<Char>);

View File

@ -2159,12 +2159,12 @@ TEST(format_test, test_formatters_enabled) {
check_enabled_formatters<char, bool, char, signed char, unsigned char, short,
unsigned short, int, unsigned, long, unsigned long,
long long, unsigned long long, float, double,
long double, void*, const void*, char*, const char*,
long double, void*, const void*, const char*,
std::string, std::nullptr_t>();
check_enabled_formatters<wchar_t, bool, wchar_t, signed char, unsigned char,
short, unsigned short, int, unsigned, long,
unsigned long, long long, unsigned long long, float,
double, long double, void*, const void*, wchar_t*,
double, long double, void*, const void*,
const wchar_t*, std::wstring, std::nullptr_t>();
}