workaround Clang 18.1 crash

This commit is contained in:
oltolm 2024-03-20 17:34:38 +01:00 committed by Megamouse
parent 59410b9d62
commit ac034040ce

View file

@ -1057,7 +1057,7 @@ template <typename CT> requires requires (const CT& x) { std::size(x); }
}
else
{
return narrow<u32>(std::size(container), line, col, file, func);
return narrow<u32>(container.size(), line, col, file, func);
}
}