mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-09 11:16:48 +08:00
Fix handling of byte
This commit is contained in:
parent
2d44577586
commit
eaddd1e3cd
@ -1425,7 +1425,7 @@ template <typename Context> struct arg_mapper {
|
|||||||
return map(static_cast<typename std::underlying_type<T>::type>(val));
|
return map(static_cast<typename std::underlying_type<T>::type>(val));
|
||||||
}
|
}
|
||||||
|
|
||||||
FMT_CONSTEXPR FMT_INLINE auto map(detail::byte val) -> unsigned char {
|
FMT_CONSTEXPR FMT_INLINE auto map(detail::byte val) -> unsigned {
|
||||||
return map(static_cast<unsigned char>(val));
|
return map(static_cast<unsigned char>(val));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user