summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-06-22 21:10:41 +0200
committerGitHub <noreply@github.com>2017-06-22 21:10:41 +0200
commitea6660721bf420bb7656cd6c0d8aa04230ccc41e (patch)
tree957bf9c81ea32772c9f5692b7e272436f22ebd67 /src/Bindings/LuaState.h
parentFix shears (and vines) (diff)
downloadcuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.gz
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.bz2
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.lz
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.xz
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.zst
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.zip
Diffstat (limited to 'src/Bindings/LuaState.h')
-rw-r--r--src/Bindings/LuaState.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h
index 44d4c6448..4320ce40e 100644
--- a/src/Bindings/LuaState.h
+++ b/src/Bindings/LuaState.h
@@ -77,7 +77,7 @@ public:
}
}
- ~cStackBalanceCheck() NO_THROW
+ ~cStackBalanceCheck() CAN_THROW
{
auto currStackPos = lua_gettop(m_LuaState);
if (currStackPos != m_StackPos)
@@ -117,7 +117,7 @@ public:
{
}
- ~cStackBalancePopper() NO_THROW
+ ~cStackBalancePopper() CAN_THROW
{
auto curTop = lua_gettop(m_LuaState);
if (curTop > m_Count)
@@ -476,7 +476,7 @@ public:
std::swap(m_StackLen, a_Src.m_StackLen);
}
- ~cStackValue() NO_THROW
+ ~cStackValue() CAN_THROW
{
if (m_LuaState != nullptr)
{