mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
AK: Fix bogus return type of Result::release_error() (#6054)
The function was not used anywhere so the error was unnoticed.
This commit is contained in:
parent
a8f8e883c1
commit
804ab79995
|
@ -117,7 +117,7 @@ public:
|
|||
return m_error.has_value();
|
||||
}
|
||||
|
||||
void release_error()
|
||||
ErrorType release_error()
|
||||
{
|
||||
return m_error.release_value();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue