فهرست منبع

incorrect init_type()

David Rose 23 سال پیش
والد
کامیت
7acbb5dec7
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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;
     return _type_handle;
   }
   }
   static void init_type() {
   static void init_type() {
-    TypedReferenceCount::init_type();
+    FactoryParam::init_type();
     register_type(_type_handle, "BamReaderParam",
     register_type(_type_handle, "BamReaderParam",
                   FactoryParam::get_class_type());
                   FactoryParam::get_class_type());
   }
   }

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

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