Ignore:
Timestamp:
10/05/19 16:54:54 (5 years ago)
Author:
tbretz
Message:
Added a constructor which allows to instantiate MDIrIter with just one argument
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mbase/MDirIter.cc

    r19626 r19720  
    139139
    140140    // Create an iterator to iterate over all entries in the directory
    141     MDirIter NextD(dir);
     141    MDirIter NextD;
     142    NextD.AddDirectory(dir);
    142143
    143144    TString c;
     
    159160// Add a single file to the iterator
    160161//
    161 Int_t MDirIter::AddFile(const char *name)
     162Int_t MDirIter::AddFile(const char *name, Int_t rec)
    162163{
    163164    return AddDirectory(gSystem->DirName(name), gSystem->BaseName(name));
Note: See TracChangeset for help on using the changeset viewer.