diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 01:59:06 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 01:59:06 +0000 |
| commit | ee153778604a583e8cc3a700c78af47d25889a0e (patch) | |
| tree | df01d6942afc9a621b33f133f56120ba4e2366d9 /lib/Basic/VirtualFileSystem.cpp | |
| parent | 308f966088130d00f144e5b24cfe71d5098d414e (diff) | |
| download | clang-ee153778604a583e8cc3a700c78af47d25889a0e.tar.gz clang-ee153778604a583e8cc3a700c78af47d25889a0e.tar.bz2 clang-ee153778604a583e8cc3a700c78af47d25889a0e.tar.xz | |
Use generic_category from the std namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/VirtualFileSystem.cpp')
| -rw-r--r-- | lib/Basic/VirtualFileSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/VirtualFileSystem.cpp b/lib/Basic/VirtualFileSystem.cpp index 1e771e0e77..27b6c75142 100644 --- a/lib/Basic/VirtualFileSystem.cpp +++ b/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(); } |
