mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
There is no std::errc::success, remove the llvm one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -42,7 +42,7 @@ std::string _obj2yaml_error_category::message(int ev) const {
|
||||
error_condition
|
||||
_obj2yaml_error_category::default_error_condition(int ev) const {
|
||||
if (ev == obj2yaml_error::success)
|
||||
return errc::success;
|
||||
return error_condition();
|
||||
return errc::invalid_argument;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user