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:
Justin Bogner
2014-03-15 04:05:59 +00:00
parent 8e85e50170
commit c0a42c263e
4 changed files with 7 additions and 7 deletions

View File

@ -628,8 +628,8 @@ class error_category
public:
virtual ~error_category();
private:
error_category();
private:
error_category(const error_category&) LLVM_DELETED_FUNCTION;
error_category& operator=(const error_category&) LLVM_DELETED_FUNCTION;