fix the iterator use in the copy constructors

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@38 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Steve Lhomme 2010-03-18 17:07:58 +00:00
parent 9d3a11f774
commit 1a8c8cc66a
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ KaxCluster::KaxCluster(const KaxCluster & ElementToClone)
static_cast<KaxBlockVirtual *>(*Itr)->SetParent(*this);
#endif // MATROSKA_VERSION
}
++Itr;
}
}

View File

@ -89,6 +89,7 @@ KaxSegment::KaxSegment(const KaxSegment & ElementToClone)
if (EbmlId(**Itr) == EBML_ID(KaxCluster)) {
static_cast<KaxCluster *>(*Itr)->SetParent(*this);
}
++Itr;
}
}