From ac034040cecdc6bab181ddabd61eccfa9e619058 Mon Sep 17 00:00:00 2001 From: oltolm Date: Wed, 20 Mar 2024 17:34:38 +0100 Subject: [PATCH] workaround Clang 18.1 crash --- rpcs3/util/types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/util/types.hpp b/rpcs3/util/types.hpp index 6e69657c76..47eb08147f 100644 --- a/rpcs3/util/types.hpp +++ b/rpcs3/util/types.hpp @@ -1057,7 +1057,7 @@ template requires requires (const CT& x) { std::size(x); } } else { - return narrow(std::size(container), line, col, file, func); + return narrow(container.size(), line, col, file, func); } }