Don't import error_category into the llvm namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210733 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-06-12 01:45:43 +00:00
parent 173d7ff833
commit 9ee34311f3
11 changed files with 15 additions and 16 deletions

View File

@ -17,7 +17,7 @@
using namespace llvm;
namespace {
class _readobj_error_category : public error_category {
class _readobj_error_category : public std::error_category {
public:
const char* name() const LLVM_NOEXCEPT override;
std::string message(int ev) const override;
@ -56,7 +56,7 @@ _readobj_error_category::default_error_condition(int EV) const {
}
namespace llvm {
const error_category &readobj_category() {
const std::error_category &readobj_category() {
static _readobj_error_category o;
return o;
}