Skip to content
  • Steven Murray's avatar
    ArchiveFileItor::next() is no longer const. · a4aaab31
    Steven Murray authored
    Woah!  Got carried away with const.  This commit Removes the const
    qualifier from the ArchiveFileItor::next() method because next()
    modifies the iterator.
    
    To loop through an ArchiveFileItor:
    
      auto itor = catalogue.getArchiveFilesForRepackItor(vid, startFSeq);
      while(itor.hasMore()) {
        const auto archiveFile = itor.next();
        // Do something with archiveFile
      }
    a4aaab31