(svn r12530) [NoAI] -Fix r12528: missing 'public' statement gives funny effects (tnx glx) noai
authortruebrain
Tue, 01 Apr 2008 13:45:04 +0000
branchnoai
changeset 9858 b385c3ee0926
parent 9857 7adb6a846add
child 9859 81621c6ba0e9
(svn r12530) [NoAI] -Fix r12528: missing 'public' statement gives funny effects (tnx glx)
src/thread_win32.cpp
--- a/src/thread_win32.cpp	Tue Apr 01 13:40:36 2008 +0000
+++ b/src/thread_win32.cpp	Tue Apr 01 13:45:04 2008 +0000
@@ -65,12 +65,14 @@
  * Win32 thread version for ThreadObject.
  */
 class ThreadObject_Win32 : public ThreadObject {
+private:
 	uint     m_id_thr;
 	HANDLE   m_h_thr;
 	OTTDThreadFunc m_proc;
 	void     *m_param;
 	bool     m_attached;
 
+public:
 	/**
 	 * Create a win32 thread and start it, calling proc(param).
 	 */