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:
vcollette 2021-04-01 21:03:57 +02:00 committed by GitHub
parent a8f8e883c1
commit 804ab79995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ public:
return m_error.has_value();
}
void release_error()
ErrorType release_error()
{
return m_error.release_value();
}