mirror of https://github.com/opencardev/aasdk
Fix error active state
parent
175dfa6b60
commit
2ba44d220e
|
@ -57,7 +57,7 @@ const char* Error::what() const noexcept
|
|||
|
||||
bool Error::operator!() const
|
||||
{
|
||||
return code_ != ErrorCode::NONE || nativeCode_ != 0;
|
||||
return code_ == ErrorCode::NONE;
|
||||
}
|
||||
|
||||
bool Error::operator==(const Error& other) const
|
||||
|
|
Loading…
Reference in New Issue