mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +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:
@ -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