Don't put generic_category in the llvm namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-06-12 02:00:39 +00:00
parent 23475569d5
commit 81f207bf78
6 changed files with 30 additions and 31 deletions

View File

@@ -1030,7 +1030,7 @@ error_code identify_magic(const Twine &Path, file_magic &Result) {
char Buffer[32];
int Length = read(FD, Buffer, sizeof(Buffer));
if (Length < 0)
return error_code(errno, generic_category());
return error_code(errno, std::generic_category());
Result = identify_magic(StringRef(Buffer, Length));
return error_code();