diff --git a/include/fmt/core.h b/include/fmt/core.h index b9091fa6..ececfc9a 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -989,12 +989,12 @@ class locale_ref { template Locale get() const; }; -template constexpr unsigned long long get_types() { return 0; } +template constexpr unsigned long long encode_types() { return 0; } template -constexpr unsigned long long get_types() { +constexpr unsigned long long encode_types() { return mapped_type_constant::value | - (get_types() << 4); + (encode_types() << 4); } template @@ -1095,7 +1095,7 @@ template class format_arg_store { public: static constexpr unsigned long long TYPES = - is_packed ? internal::get_types() + is_packed ? internal::encode_types() : internal::is_unpacked_bit | num_args; format_arg_store(const Args&... args)