summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/Error.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-03-15 04:05:59 +0000
committerJustin Bogner <mail@justinbogner.com>2014-03-15 04:05:59 +0000
commite3bfdc4e14bedf433b838963d6936dcc2fceb511 (patch)
tree565d2840dc7e39cc455a8fabed5d974e023335df /llvm/tools/llvm-readobj/Error.cpp
parent64587433cee773f0d08601b77bf634509ef05a42 (diff)
downloadbcm5719-llvm-e3bfdc4e14bedf433b838963d6936dcc2fceb511.tar.gz
bcm5719-llvm-e3bfdc4e14bedf433b838963d6936dcc2fceb511.zip
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. llvm-svn: 203998
Diffstat (limited to 'llvm/tools/llvm-readobj/Error.cpp')
-rw-r--r--llvm/tools/llvm-readobj/Error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-readobj/Error.cpp b/llvm/tools/llvm-readobj/Error.cpp
index 1aed92bc8dd..83ed6a7dfc0 100644
--- a/llvm/tools/llvm-readobj/Error.cpp
+++ b/llvm/tools/llvm-readobj/Error.cpp
@@ -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;
OpenPOWER on IntegriCloud