mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
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:
@ -18,7 +18,7 @@ using namespace llvm;
|
||||
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 @@ _object_error_category::default_error_condition(int EV) const {
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user