There is no std::errc::success, remove the llvm one.
llvm-svn: 209960
This commit is contained in:
@@ -50,7 +50,7 @@ std::string _readobj_error_category::message(int ev) const {
|
||||
|
||||
error_condition _readobj_error_category::default_error_condition(int ev) const {
|
||||
if (ev == readobj_error::success)
|
||||
return errc::success;
|
||||
return error_condition();
|
||||
return errc::invalid_argument;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user