Don't import error_category into the llvm namespace.
llvm-svn: 210733
diff --git a/llvm/lib/Object/Error.cpp b/llvm/lib/Object/Error.cpp
index 39d765f..0a29cac 100644
--- a/llvm/lib/Object/Error.cpp
+++ b/llvm/lib/Object/Error.cpp
@@ -18,7 +18,7 @@
using namespace object;
namespace {
-class _object_error_category : public error_category {
+class _object_error_category : public std::error_category {
public:
const char* name() const LLVM_NOEXCEPT override;
std::string message(int ev) const override;
@@ -55,7 +55,7 @@
return std::errc::invalid_argument;
}
-const error_category &object::object_category() {
+const std::error_category &object::object_category() {
static _object_error_category o;
return o;
}