diff --git a/AK/Result.h b/AK/Result.h index edfb3f892712b9aed745dbb6719f75224a65a15a..85c4f90722f62f58f667dd8aabbfccad6d14163c 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();