diff options
Diffstat (limited to '3rdparty/sol2/sol/sol.hpp')
-rw-r--r-- | 3rdparty/sol2/sol/sol.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/3rdparty/sol2/sol/sol.hpp b/3rdparty/sol2/sol/sol.hpp index 8b0b7d36ea4..0bac66042d5 100644 --- a/3rdparty/sol2/sol/sol.hpp +++ b/3rdparty/sol2/sol/sol.hpp @@ -19456,7 +19456,13 @@ namespace sol { namespace function_detail { } template <bool is_yielding, bool no_trampoline> - static int call(lua_State* L) noexcept(std::is_nothrow_copy_assignable_v<T>) { + static int call(lua_State* L) +#if SOL_IS_ON(SOL_COMPILER_CLANG) + // apparent regression in clang 18 - llvm/llvm-project#91362 +#else + noexcept(std::is_nothrow_copy_assignable_v<T>) +#endif + { int nr; if constexpr (no_trampoline) { nr = real_call(L); |