Browse Source

a couple more fixes to self-memory-alignment

David Rose 14 years ago
parent
commit
f9240e0258
3 changed files with 3 additions and 3 deletions
  1. 1 1
      panda/src/egg/eggAttributes.h
  2. 1 1
      panda/src/express/namable.h
  3. 1 1
      pandatool/src/dxf/dxfFile.h

+ 1 - 1
panda/src/egg/eggAttributes.h

@@ -34,7 +34,7 @@
 //               appearances of the EggObject base class.  And making
 //               appearances of the EggObject base class.  And making
 //               EggObject a virtual base class is just no fun.
 //               EggObject a virtual base class is just no fun.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-class EXPCL_PANDAEGG EggAttributes {
+class EXPCL_PANDAEGG EggAttributes : public MemoryBase {
 PUBLISHED:
 PUBLISHED:
   EggAttributes();
   EggAttributes();
   EggAttributes(const EggAttributes &copy);
   EggAttributes(const EggAttributes &copy);

+ 1 - 1
panda/src/express/namable.h

@@ -26,7 +26,7 @@
 //               The name is either empty or nonempty, but it is never
 //               The name is either empty or nonempty, but it is never
 //               NULL.
 //               NULL.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-class EXPCL_PANDAEXPRESS Namable {
+class EXPCL_PANDAEXPRESS Namable : public MemoryBase {
 PUBLISHED:
 PUBLISHED:
   INLINE Namable(const string &initial_name = "");
   INLINE Namable(const string &initial_name = "");
   INLINE Namable(const Namable &copy);
   INLINE Namable(const Namable &copy);

+ 1 - 1
pandatool/src/dxf/dxfFile.h

@@ -36,7 +36,7 @@ static const int DXF_num_colors = 256;
 //               appropriate functions overridden (particularly
 //               appropriate functions overridden (particularly
 //               DoneEntity()).
 //               DoneEntity()).
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
-class DXFFile {
+class DXFFile : public MemoryBase {
 public:
 public:
   DXFFile();
   DXFFile();
   virtual ~DXFFile();
   virtual ~DXFFile();