Browse Source

incorrect init_type()

David Rose 23 years ago
parent
commit
7acbb5dec7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/putil/bamReaderParam.h
  2. 1 1
      panda/src/putil/writableParam.h

+ 1 - 1
panda/src/putil/bamReaderParam.h

@@ -53,7 +53,7 @@ public:
     return _type_handle;
   }
   static void init_type() {
-    TypedReferenceCount::init_type();
+    FactoryParam::init_type();
     register_type(_type_handle, "BamReaderParam",
                   FactoryParam::get_class_type());
   }

+ 1 - 1
panda/src/putil/writableParam.h

@@ -58,7 +58,7 @@ public:
     return _type_handle;
   }
   static void init_type() {
-    TypedReferenceCount::init_type();
+    FactoryParam::init_type();
     register_type(_type_handle, "WritableParam",
                   FactoryParam::get_class_type());
   }