Browse Source

pipeline: CycleData should always inherit from MemoryBase

We need to guarantee that CData classes are aligned properly, even if DO_PIPELINING is not enabled.
rdb 7 years ago
parent
commit
63484c83cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pipeline/cycleData.h

+ 1 - 1
panda/src/pipeline/cycleData.h

@@ -44,7 +44,7 @@ class EXPCL_PANDA_PIPELINE CycleData : public NodeReferenceCount
 // If we are *not* compiling in pipelining support, the CycleData object is
 // stored directly within its containing classes, and hence should not be a
 // ReferenceCount object.
-class EXPCL_PANDA_PIPELINE CycleData
+class EXPCL_PANDA_PIPELINE CycleData : public MemoryBase
 
 #endif  // DO_PIPELINING
 {