dmake: fixed compiler error

This commit is contained in:
Daniel Marjamäki 2011-04-27 17:57:03 +02:00
parent d8a4383f5f
commit 29a7b3bafd
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ static void compilefiles(std::ostream &fout, const std::vector<std::string> &fil
static void getCppFiles(std::vector<std::string> &files, const std::string &path) static void getCppFiles(std::vector<std::string> &files, const std::string &path)
{ {
FileLister::recursiveAddFiles(files, path); std::map<std::string,long> filesizes;
FileLister::recursiveAddFiles(files, filesizes, path);
// only get *.cpp files.. // only get *.cpp files..
for (std::vector<std::string>::iterator it = files.begin(); it != files.end();) for (std::vector<std::string>::iterator it = files.begin(); it != files.end();)
{ {