From a7ea7b3a66fdc88ae27fef7fe99802f4deaa9d48 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Wed, 5 Aug 2020 05:56:28 -0700 Subject: [PATCH] AK: Decorate AK::Result with [[nodiscard]] --- AK/Result.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/Result.h b/AK/Result.h index f8521bcee5..fd0c3982b1 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)