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

@@ -3300,7 +3300,7 @@ error_code BitcodeReader::InitLazyStream() {
}
namespace {
class BitcodeErrorCategoryType : public error_category {
class BitcodeErrorCategoryType : public std::error_category {
const char *name() const LLVM_NOEXCEPT override {
return "llvm.bitcode";
}
@@ -3351,7 +3351,7 @@ class BitcodeErrorCategoryType : public error_category {
};
}
const error_category &BitcodeReader::BitcodeErrorCategory() {
const std::error_category &BitcodeReader::BitcodeErrorCategory() {
static BitcodeErrorCategoryType O;
return O;
}