Ignore:
Timestamp:
12/18/01 12:06:58 (23 years ago)
Author:
tbretz
Message:
:
File:
1 edited

Legend:

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

    r1080 r1117  
    323323
    324324    if (pcont)
    325         return pcont;
     325    {
     326        if (pcont->InheritsFrom(cname))
     327            return pcont;
     328
     329        *fLog << err << "Warning: Object '" << oname << "' found in list doesn't inherit from " << cname << "." << endl;
     330        return NULL;
     331    }
    326332
    327333    //
Note: See TracChangeset for help on using the changeset viewer.