diff --git a/AK/Result.h b/AK/Result.h index f8521bcee5b..fd0c3982b15 100644 --- a/AK/Result.h +++ b/AK/Result.h @@ -32,7 +32,7 @@ namespace AK { template -class Result { +class [[nodiscard]] Result { public: Result(const ValueType& res) : m_result(res)