Remove redundant typename

This commit is contained in:
Victor Zverovich 2019-06-11 08:29:37 -07:00
parent 9427f15bef
commit d7d2bebf99

View File

@ -1138,10 +1138,9 @@ template <typename Context> class basic_format_args {
bool is_packed() const { return (types_ & internal::is_unpacked_bit) == 0; } 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; unsigned shift = index * 4;
return static_cast<typename internal::type>((types_ & (0xfull << shift)) >> return static_cast<internal::type>((types_ & (0xfull << shift)) >> shift);
shift);
} }
friend class internal::arg_map<Context>; friend class internal::arg_map<Context>;