diff options
Diffstat (limited to 'include/llvm/Support/system_error.h')
-rw-r--r-- | include/llvm/Support/system_error.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/Support/system_error.h b/include/llvm/Support/system_error.h index aa5e9f710a..a18b921ac1 100644 --- a/include/llvm/Support/system_error.h +++ b/include/llvm/Support/system_error.h @@ -727,10 +727,6 @@ class error_code { public: error_code() : _val_(0), _cat_(&system_category()) {} - static error_code success() { - return error_code(); - } - error_code(int _val, const error_category& _cat) : _val_(_val), _cat_(&_cat) {} |