mirror of
https://github.com/intel/llvm.git
synced 2026-01-31 16:29:50 +08:00
Fix msvc unittest build.
Looks like msvc has an asymmetrical operator ==. llvm-svn: 210768
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
std::map<std::string, vfs::Status>::iterator I =
|
||||
FilesAndDirs.find(Path.str());
|
||||
if (I == FilesAndDirs.end())
|
||||
return make_error_code(std::errc::no_such_file_or_directory);
|
||||
return std::make_error_code(std::errc::no_such_file_or_directory);
|
||||
return I->second;
|
||||
}
|
||||
error_code openFileForRead(const Twine &Path,
|
||||
|
||||
Reference in New Issue
Block a user