mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Support: Make error_category's constructor public
Since our error_category is based on the std one, we should have the same visibility for the constructor. This also allows us to avoid using the _do_message implementation detail in our own categories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
class _readobj_error_category : public _do_message {
|
||||
class _readobj_error_category : public error_category {
|
||||
public:
|
||||
const char* name() const override;
|
||||
std::string message(int ev) const override;
|
||||
|
Reference in New Issue
Block a user