Fix compile with LuaBridge

This commit is contained in:
Miodrag Milanovic 2015-01-10 14:06:25 +01:00
parent ecc0d5a977
commit b8e52b09c3

View file

@ -457,7 +457,7 @@ struct Stack <std::string const&>
{
static inline void push (lua_State* L, std::string const& str)
{
lua_pushstring (L, str.c_str(), str.size());
lua_pushstring (L, str.c_str());
}
static inline std::string get (lua_State* L, int index)