Make type a scoped enum

This commit is contained in:
Victor Zverovich
2019-12-21 12:22:17 -08:00
parent b308159be5
commit 74532c23a3
5 changed files with 90 additions and 88 deletions
+1 -1
View File
@@ -2270,7 +2270,7 @@ TEST(FormatTest, ConstexprDynamicSpecsHandler) {
template <size_t N>
FMT_CONSTEXPR test_format_specs_handler check_specs(const char (&s)[N]) {
fmt::internal::specs_checker<test_format_specs_handler> checker(
test_format_specs_handler(), fmt::internal::double_type);
test_format_specs_handler(), fmt::internal::type::double_type);
parse_format_specs(s, s + N, checker);
return checker;
}