platform: fixed accidental double deref. the method parameter already does that....
[deb_libcec.git] / src / lib / platform / threads / threads.h
index f2de310a23749f7960ef3882008c61e317c5eeb9..0efebdc2c0b47e14df475846e4f65ff92aa15dd1 100644 (file)
@@ -133,11 +133,11 @@ namespace PLATFORM
     void SetRunning(bool bSetTo);
 
   private:
-    bool               m_bStop;
-    bool               m_bRunning;
-    bool               m_bStopped;
-    CCondition<bool &> m_threadCondition;
-    CMutex             m_threadMutex;
-    thread_t           m_thread;
+    bool             m_bStop;
+    bool             m_bRunning;
+    bool             m_bStopped;
+    CCondition<bool> m_threadCondition;
+    CMutex           m_threadMutex;
+    thread_t         m_thread;
   };
 };