mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-04 15:50:10 +01:00
types.hpp: Format C arrays too for assert errors
This commit is contained in:
parent
a323e753ff
commit
70502a698e
|
|
@ -928,6 +928,10 @@ std::conditional_t<std::is_integral_v<std::remove_cvref_t<T>>, usz, std::string_
|
|||
{
|
||||
return obj;
|
||||
}
|
||||
else if constexpr (std::is_array_v<type> && std::is_constructible_v<std::string_view, type>)
|
||||
{
|
||||
return { obj, std::size(obj) - 1 };
|
||||
}
|
||||
else
|
||||
{
|
||||
return std::string_view{};
|
||||
|
|
|
|||
Loading…
Reference in a new issue