mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Fixup byte array formatter
This commit is contained in:
parent
7fe15f5f8d
commit
70a3c5d440
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ namespace fmt
|
|||
{
|
||||
// Both uchar and std::byte are allowed
|
||||
template <typename T>
|
||||
concept ByteArray = requires (T& t) { static_cast<const std::conditional_t<std::is_same_v<decltype(std::as_const(t[0])), const std::byte&>, std::byte, uchar>&>(std::data(t)[0]); };
|
||||
concept ByteArray = requires (T& t) { const_cast<std::conditional_t<std::is_same_v<decltype(std::as_const(t[0])), const std::byte&>, std::byte, uchar>&>(std::data(t)[0]); };
|
||||
}
|
||||
|
||||
template <fmt::ByteArray T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue