From f62711f97cd8b337ca4823bb6d1834f324762fc7 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 9 Jan 2017 15:56:16 +0100 Subject: LuaState: Fixed race condition in ref tracking. (#3529) --- src/Bindings/LuaState.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Bindings/LuaState.h') diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index 9c97e96d4..01faf2c26 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -809,7 +809,7 @@ public: /** Returns the canon Lua state (the primary cLuaState instance that was used to create, rather than attach, the lua_State structure). Returns nullptr if the canon Lua state cannot be queried. */ - cLuaState * QueryCanonLuaState(void); + cLuaState * QueryCanonLuaState(void) const; /** Outputs to log a warning about API call being unable to read its parameters from the stack, logs the stack trace and stack values. */ -- cgit v1.2.3