From d7d2bebf99a723a369af8cc3edce4a376425b7cd Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 11 Jun 2019 08:29:37 -0700 Subject: [PATCH] Remove redundant typename --- include/fmt/core.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 4389ee16..b9091fa6 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1138,10 +1138,9 @@ template class basic_format_args { bool is_packed() const { return (types_ & internal::is_unpacked_bit) == 0; } - typename internal::type type(unsigned index) const { + internal::type type(unsigned index) const { unsigned shift = index * 4; - return static_cast((types_ & (0xfull << shift)) >> - shift); + return static_cast((types_ & (0xfull << shift)) >> shift); } friend class internal::arg_map;