mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
AK: Forward declare Error and ErrorOr in AK/Forward.h
This commit is contained in:
parent
587f9af960
commit
11aad74dce
2 changed files with 7 additions and 1 deletions
|
@ -45,7 +45,7 @@ private:
|
|||
StringView m_string_literal;
|
||||
};
|
||||
|
||||
template<typename T, typename ErrorType = Error>
|
||||
template<typename T, typename ErrorType>
|
||||
class [[nodiscard]] ErrorOr {
|
||||
public:
|
||||
ErrorOr(T const& value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue