Commit eaddd1e3 authored by Victor Zverovich's avatar Victor Zverovich

Fix handling of byte

parent 2d445775
...@@ -1425,7 +1425,7 @@ template <typename Context> struct arg_mapper { ...@@ -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));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment