mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +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;
|
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
|
else
|
||||||
{
|
{
|
||||||
return std::string_view{};
|
return std::string_view{};
|
||||||
|
Loading…
Reference in New Issue
Block a user