Skip to content

Commit 06922a0

Browse files
committed
Remove noexcetp (luajit compatible)
1 parent 0372021 commit 06922a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/glua/glua.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ using std::string_view;
2222
using std::string;
2323

2424
template<auto f> //needed to safely convert possible exceptions into lua errors
25-
int protect(lua_State* L) noexcept {
25+
int protect(lua_State* L) {
2626
try {
2727
return f(L);
2828
} catch (std::exception& e) {
@@ -282,7 +282,7 @@ template<auto f, typename rip, size_t...Is, typename...Args>
282282
void call(lua_State* L, std::index_sequence<Is...>, meta::TypeList<Args...> args);
283283

284284
template<auto method>
285-
int Wrap(lua_State* L) noexcept {
285+
int Wrap(lua_State* L) {
286286
try {
287287
using rip = meta::RipFunc<decltype(method)>;
288288
using args = typename rip::Args;

0 commit comments

Comments
 (0)