mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Fix handling of byte
This commit is contained in:
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user