diff --git a/AK/Result.h b/AK/Result.h index edfb3f89271..85c4f90722f 100644 --- a/AK/Result.h +++ b/AK/Result.h @@ -93,6 +93,10 @@ public: Result(const Result& other) = default; ~Result() = default; + // For compatibility with TRY(). + void value() {}; + void release_value() {}; + ErrorType& error() { return m_error.value();