use iter.valid() and not iter.eol() (cosmetic)

This commit is contained in:
Jeff Hill
2000-06-27 23:42:39 +00:00
parent e1c6fe975d
commit a87af205c7

View File

@@ -50,7 +50,7 @@ dbChannelIO::~dbChannelIO ()
* remove any subscriptions attached to this channel
*/
tsDLIterBD <dbSubscriptionIO> iter = this->eventq.first ();
while ( iter != iter.eol () ) {
while ( iter.valid () ) {
tsDLIterBD <dbSubscriptionIO> next = iter.itemAfter ();
iter->destroy ();
iter = next;