Browse Source

pipeline: (Light)ReMutexDirect should include thread.h

Thread methods are used in the respective .I files, so
an incomplete forward declaration won't suffice here.
Sam Edwards 7 years ago
parent
commit
6e951773a6
2 changed files with 2 additions and 4 deletions
  1. 1 2
      panda/src/pipeline/lightReMutexDirect.h
  2. 1 2
      panda/src/pipeline/reMutexDirect.h

+ 1 - 2
panda/src/pipeline/lightReMutexDirect.h

@@ -17,8 +17,7 @@
 #include "pandabase.h"
 #include "pandabase.h"
 #include "mutexImpl.h"
 #include "mutexImpl.h"
 #include "reMutexDirect.h"
 #include "reMutexDirect.h"
-
-class Thread;
+#include "thread.h"
 
 
 #ifndef DEBUG_THREADS
 #ifndef DEBUG_THREADS
 
 

+ 1 - 2
panda/src/pipeline/reMutexDirect.h

@@ -17,8 +17,7 @@
 #include "pandabase.h"
 #include "pandabase.h"
 #include "mutexTrueImpl.h"
 #include "mutexTrueImpl.h"
 #include "conditionVarImpl.h"
 #include "conditionVarImpl.h"
-
-class Thread;
+#include "thread.h"
 
 
 #ifndef DEBUG_THREADS
 #ifndef DEBUG_THREADS