This commit is contained in:
dwitte@stanford.edu 2007-12-21 03:22:31 -08:00
Родитель 8dbf2e234f
Коммит f20f26ec57
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -68,6 +68,10 @@ class NS_COM_GLUE nsTObserverArray_base {
: mIterators(nsnull) {
}
~nsTObserverArray_base() {
NS_ASSERTION(mIterators == nsnull, "iterators outlasting array");
}
/**
* Adjusts iterators after an element has been inserted or removed
* from the array.