AK: Decorate AK::Result<V, E> with [[nodiscard]]

This commit is contained in:
Brian Gianforcaro 2020-08-05 05:56:28 -07:00 committed by Andreas Kling
parent a9fb317a63
commit a7ea7b3a66

View file

@ -32,7 +32,7 @@
namespace AK {
template<typename ValueType, typename ErrorType>
class Result {
class [[nodiscard]] Result {
public:
Result(const ValueType& res)
: m_result(res)