summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 02:00:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 02:00:39 +0000
commit7e577f73ee59f782879ba284c8d570e5cefa5431 (patch)
tree1c6e7592c7d46b093a0615458bbd6cfd2299ee9a /llvm/lib/Support/Path.cpp
parent181efbf44a53ebc946b29406b35ac6bb33e80b99 (diff)
downloadbcm5719-llvm-7e577f73ee59f782879ba284c8d570e5cefa5431.tar.gz
bcm5719-llvm-7e577f73ee59f782879ba284c8d570e5cefa5431.zip
Don't put generic_category in the llvm namespace.
llvm-svn: 210737
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp
index 9d98503e02f..dabf763c8db 100644
--- a/llvm/lib/Support/Path.cpp
+++ b/llvm/lib/Support/Path.cpp
@@ -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();
OpenPOWER on IntegriCloud