diff options
author | madmaxoft <github@xoft.cz> | 2013-08-21 21:29:30 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-21 21:29:30 +0200 |
commit | f3a0fed72427e747d2c8c9599dd8279ff598dc28 (patch) | |
tree | 07bacb9492aeb37205b50c249e798fdc5993d82d /source/LuaState.h | |
parent | cLuaState: Added LogStackTrace() and GetTypeText() utility functions (diff) | |
download | cuberite-f3a0fed72427e747d2c8c9599dd8279ff598dc28.tar cuberite-f3a0fed72427e747d2c8c9599dd8279ff598dc28.tar.gz cuberite-f3a0fed72427e747d2c8c9599dd8279ff598dc28.tar.bz2 cuberite-f3a0fed72427e747d2c8c9599dd8279ff598dc28.tar.lz cuberite-f3a0fed72427e747d2c8c9599dd8279ff598dc28.tar.xz cuberite-f3a0fed72427e747d2c8c9599dd8279ff598dc28.tar.zst cuberite-f3a0fed72427e747d2c8c9599dd8279ff598dc28.zip |
Diffstat (limited to '')
-rw-r--r-- | source/LuaState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/LuaState.h b/source/LuaState.h index aa2a4af0f..caba2484d 100644 --- a/source/LuaState.h +++ b/source/LuaState.h @@ -77,7 +77,7 @@ public: bool IsValid(void) const {return (m_Ref != LUA_REFNIL); } /// Allows to use this class wherever an int (i. e. ref) is to be used - operator int(void) { return m_Ref; } + operator int(void) const { return m_Ref; } protected: cLuaState & m_LuaState; |