Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix a lambda call.

  • Loading branch information...
commit c63a84adf17ec45870c4565ad3053f0503008c24 1 parent 978f71c
Terushi Arakawa authored
View
5 Project/osx/.gitignore
@@ -0,0 +1,5 @@
+.objs/
+ext/
+*.o
+*.a
+gptest
View
3  Src/Stream/StreamConnectionImplLua.cpp
@@ -74,7 +74,7 @@ void StreamConnectionImpl::initializeAsyncThreadMethod(const wstring& account_id
void StreamConnectionImpl::update(const wstring& account_id)
{
- LuaScript<bool(string)> lua_script("LuaScript/StreamLoopUpdate.lua", "streamLoopUpdate", [](lua_State* lua_state)
+ LuaScript<bool(string)> lua_script("LuaScript/StreamLoopUpdate.lua", "streamLoopUpdate", [this](lua_State* lua_state)
{
Connection::bindToScript(lua_state);
HttpResponse::bindToScript(lua_state);
@@ -83,6 +83,7 @@ void StreamConnectionImpl::update(const wstring& account_id)
PostParser::bindToScript(lua_state);
CommentParser::bindToScript(lua_state);
JsonObject::bindToScript(lua_state);
+ bindToScript(lua_state);
});
while(!is_cancellation_pending_)
Please sign in to comment.
Something went wrong with that request. Please try again.