Ignore:
Timestamp:
02/16/09 10:19:21 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r9268 r9345  
    245245// --------------------------------------------------------------------------
    246246//
    247 //  Add all entries of the TObjArray to the list.
     247// Add all entries which derive from MParContainer
     248// of the TObjArray to the list.
    248249//
    249250void MParList::AddToList(TObjArray *list)
     
    255256        return;
    256257
    257     MIter Next(list);
    258 
    259     MParContainer *cont = NULL;
     258    TIter Next(list);
     259
     260    TObject *cont = NULL;
    260261    while ((cont=Next()))
    261262    {
     263        if (!dynamic_cast<MParContainer*>(cont))
     264            continue;
     265
    262266        cont->SetBit(kMustCleanup);
    263267        AddToList(cont);
Note: See TracChangeset for help on using the changeset viewer.