minor code cleanup

This commit is contained in:
Ayaz Salikhov 2017-08-13 13:27:32 +02:00 committed by Daniel Marjamäki
parent 702947c540
commit 3e7f4c214d
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ static void AddFilesToList(const std::string& FileList, std::vector<std::string>
// To keep things initially simple, if the file can't be opened, just be silent and move on.
std::istream *Files;
std::ifstream Infile;
if (FileList.compare("-") == 0) { // read from stdin
if (FileList == "-") { // read from stdin
Files = &std::cin;
} else {
Infile.open(FileList.c_str());