summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Basic/VirtualFileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/VirtualFileSystem.cpp b/clang/lib/Basic/VirtualFileSystem.cpp
index 1e771e0e772..27b6c751428 100644
--- a/clang/lib/Basic/VirtualFileSystem.cpp
+++ b/clang/lib/Basic/VirtualFileSystem.cpp
@@ -140,7 +140,7 @@ error_code RealFile::getBuffer(const Twine &Name,
#endif
error_code RealFile::close() {
if (::close(FD))
- return error_code(errno, generic_category());
+ return error_code(errno, std::generic_category());
FD = -1;
return error_code();
}
OpenPOWER on IntegriCloud