fix refcount bug when reading bams

This commit is contained in:
David Rose 2002-03-11 19:27:38 +00:00
parent ff04381a1d
commit 54f300f612

View File

@ -123,7 +123,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
// Get the parent pointers. // Get the parent pointers.
Up::iterator ui; Up::iterator ui;
for (ui = _up.begin(); ui != _up.end(); ++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 // For some reason, VC++ won't accept UpConnection as an inline
// temporary constructor here ("C2226: unexpected type // temporary constructor here ("C2226: unexpected type