浏览代码

paranoid_inheritance for now

David Rose 24 年之前
父节点
当前提交
67af796150
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      panda/src/express/typeRegistryNode.cxx

+ 2 - 0
panda/src/express/typeRegistryNode.cxx

@@ -21,7 +21,9 @@
 #include <algorithm>
 #include <algorithm>
 
 
 // Define this to double-check all the inheritance derivations.
 // Define this to double-check all the inheritance derivations.
+#ifndef NDEBUG
 #define PARANOID_INHERITANCE
 #define PARANOID_INHERITANCE
+#endif
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: TypeRegistryNode::Constructor
 //     Function: TypeRegistryNode::Constructor