2
0
Эх сурвалжийг харах

ALLOC_DELETED_CHAIN in RefCountObj

David Rose 19 жил өмнө
parent
commit
82c0b5625f

+ 2 - 0
panda/src/express/referenceCount.h

@@ -26,6 +26,7 @@
 #include "config_express.h"
 #include "config_express.h"
 #include "atomicAdjust.h"
 #include "atomicAdjust.h"
 #include "numeric_types.h"
 #include "numeric_types.h"
+#include "deletedChain.h"
 
 
 #include <stdlib.h>
 #include <stdlib.h>
 
 
@@ -148,6 +149,7 @@ class RefCountObj : public ReferenceCount, public Base {
 public:
 public:
   INLINE RefCountObj();
   INLINE RefCountObj();
   INLINE RefCountObj(const Base &copy);
   INLINE RefCountObj(const Base &copy);
+  ALLOC_DELETED_CHAIN(RefCountObj<Base>);
 
 
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {
     return _type_handle;
     return _type_handle;