pipeline: CycleData should always inherit from MemoryBase

We need to guarantee that CData classes are aligned properly, even if DO_PIPELINING is not enabled.
This commit is contained in:
rdb 2018-10-31 21:25:03 +01:00
parent 8d3576607e
commit 63484c83cb

View File

@ -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
{