Ignore:
Timestamp:
11/01/18 20:43:06 (3 years ago)
Author:
tbretz
Message:
Improves the behaviour with RecursiveRemove. Strictly speaking this change might only be necessary if a class contains more than one member which is bound to recursive remove. Onth other hand setting all members to NULL which might be affected by RecursiveRemove is not wrong either.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mhbase/MHn.cc

    r19304 r19345  
    154154    for (int i=0; i<fNum; i++)
    155155        if (fHist[i])
     156        {
    156157            delete fHist[i];
     158            fHist[i] = 0;
     159        }
    157160}
    158161
Note: See TracChangeset for help on using the changeset viewer.