try to fix travis

This commit is contained in:
Daniel Marjamäki 2016-07-21 08:04:32 +02:00
parent 9899e81f2e
commit 7383410d32
1 changed files with 2 additions and 1 deletions

View File

@ -1224,7 +1224,8 @@ std::map<std::string, simplecpp::TokenList*> simplecpp::load(const simplecpp::To
TokenList *tokens = new TokenList(f, fileNumbers, header2);
ret[header2] = tokens;
filelist.push_back(tokens->cbegin());
if (tokens->cbegin())
filelist.push_back(tokens->cbegin());
}
return ret;