diff options
author | 2024-05-08 03:58:36 +1000 | |
---|---|---|
committer | 2024-05-08 03:58:36 +1000 | |
commit | b7e0fa72b92f8f6761a1a59e8ffdc46f6d17e6cc (patch) | |
tree | f71994ec3cdc7565d25cecb4f374ccb9c3ebc4b3 /3rdparty/sol2/sol | |
parent | 4da99a13f5cd8054ff8f747a0234a74b271b663d (diff) |
3rdparty/sol2: Work around another place where noexcept depends on class template arguments.
Diffstat (limited to '3rdparty/sol2/sol')
-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 0bac66042d5..1a9375d996d 100644 --- a/3rdparty/sol2/sol/sol.hpp +++ b/3rdparty/sol2/sol/sol.hpp @@ -19416,7 +19416,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); |