From: John L. <jr...@us...> - 2006-10-08 18:58:37
|
Update of /cvsroot/wxlua/wxLua/modules/wxluasocket/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv25032/modules/wxluasocket/include Modified Files: wxldserv.h Log Message: compilation fix, MSVC doesn't allow member classes access to protected functions, gcc does Index: wxldserv.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/include/wxldserv.h,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** wxldserv.h 5 Oct 2006 05:10:47 -0000 1.23 --- wxldserv.h 8 Oct 2006 18:58:33 -0000 1.24 *************** *** 268,275 **** virtual wxLuaSocketBase* GetSocketBase() { return m_acceptedSocket; } protected: bool StartServerThread(); bool WaitForConnect(int timeOut); - void ThreadFunction(); wxLuaSocket *m_serverSocket; --- 268,278 ---- virtual wxLuaSocketBase* GetSocketBase() { return m_acceptedSocket; } + // The thread function for the running LuaThread, only to be called by the + // thread. + void ThreadFunction(); + protected: bool StartServerThread(); bool WaitForConnect(int timeOut); wxLuaSocket *m_serverSocket; |