Added append() method

This commit is contained in:
Robert Osfield
2009-06-19 11:04:48 +00:00
parent 93a0391dc3
commit 82b329b0a7
2 changed files with 13 additions and 0 deletions

View File

@@ -45,6 +45,17 @@ bool FileList::removeFile(const std::string& filename)
return true;
}
void FileList::append(FileList* fileList)
{
for(FileNames::iterator itr = fileList->_files.begin();
itr != fileList->_files.end();
++itr)
{
_files.insert(*itr);
}
}
////////////////////////////////////////////////////////////////////////////////////////////
//
// DatabaseRevision