Преглед на файлове

fix refcount bug when reading bams

David Rose преди 24 години
родител
ревизия
54f300f612
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      panda/src/pgraph/pandaNode.cxx

+ 1 - 1
panda/src/pgraph/pandaNode.cxx

@@ -123,7 +123,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
   // Get the parent pointers.
   Up::iterator ui;
   for (ui = _up.begin(); ui != _up.end(); ++ui) {
-    PT(PandaNode) parent_node = DCAST(PandaNode, p_list[pi++]);
+    PandaNode *parent_node = DCAST(PandaNode, p_list[pi++]);
 
     // For some reason, VC++ won't accept UpConnection as an inline
     // temporary constructor here ("C2226: unexpected type