Skip to content

Commit d286f03

Browse files
committed
test simplecpp#444
1 parent d1f511d commit d286f03

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

externals/simplecpp/simplecpp.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,13 +3278,6 @@ static std::string getFileIdPath(const std::map<std::string, simplecpp::TokenLis
32783278
if (!match.empty()) {
32793279
return match;
32803280
}
3281-
// if the file exists but hasn't been loaded yet then we need to stop searching here or we could get a false match
3282-
std::ifstream f;
3283-
openHeader(f, relativeOrAbsoluteFilename);
3284-
if (f.is_open()) {
3285-
f.close();
3286-
return "";
3287-
}
32883281
} else if (filedata.find(header) != filedata.end()) {
32893282
return header;// system header that its file is already in the filedata - return that as is
32903283
}

0 commit comments

Comments
 (0)