mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user