From 39f522a13a2def21afc0c2931aaa9e5caf3381b0 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 11 Jun 2019 18:50:14 -0700 Subject: [PATCH] get_types -> encode_types --- include/fmt/core.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)