mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Remove redundant typename
This commit is contained in:
parent
9427f15bef
commit
d7d2bebf99
@ -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>;
|
||||||
|
Loading…
Reference in New Issue
Block a user