TString twhat(what);
twhat.ToUpper();
TObjString* opt;
- TIter next(twhat.Tokenize(" ,|"));
+ TObjArray* token = twhat.Tokenize(" ,|");
+ TIter next(token);
while ((opt = static_cast<TObjString*>(next()))) {
TString s(opt->GetString());
if (s.IsNull()) continue;
if (add) scheme |= bit;
else scheme ^= bit;
}
+ delete token;
return scheme;
}
//________________________________________________________________________