mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fixed exception condition
This commit is contained in:
parent
2198d9374d
commit
385645222a
|
@ -31,7 +31,7 @@
|
|||
namespace sol {
|
||||
namespace detail {
|
||||
inline void stack_fail(int, int) {
|
||||
#if SOL_IS_OFF(SOL_EXCEPTIONS_I_)
|
||||
#if SOL_IS_ON(SOL_EXCEPTIONS_I_)
|
||||
throw error(detail::direct_error, "imbalanced stack after operation finish");
|
||||
#else
|
||||
// Lol, what do you want, an error printout? :3c
|
||||
|
|
Loading…
Reference in New Issue
Block a user