Browse Source

whoops, missing trivial constructor

David Rose 14 years ago
parent
commit
5e5d8f7e17
1 changed files with 12 additions and 0 deletions
  1. 12 0
      panda/src/pipeline/cycleDataWriter.I

+ 12 - 0
panda/src/pipeline/cycleDataWriter.I

@@ -239,6 +239,18 @@ CycleDataWriter(PipelineCycler<CycleDataType> &cycler, bool, Thread *) {
   _pointer = cycler.cheat();
   _pointer = cycler.cheat();
 }
 }
 
 
+////////////////////////////////////////////////////////////////////
+//     Function: CycleDataWriter::Constructor (trivial)
+//       Access: Public
+//  Description: 
+////////////////////////////////////////////////////////////////////
+template<class CycleDataType>
+INLINE CycleDataWriter<CycleDataType>::
+CycleDataWriter(PipelineCycler<CycleDataType> &, CycleDataType *locked_cdata, 
+                Thread *) {
+  _pointer = locked_cdata;
+}
+
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: CycleDataWriter::Copy Constructor (trivial)
 //     Function: CycleDataWriter::Copy Constructor (trivial)
 //       Access: Public
 //       Access: Public