mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-24 03:25:02 +00:00
AK: Decorate AK::Result<V, E> with [[nodiscard]]
This commit is contained in:
parent
a9fb317a63
commit
a7ea7b3a66
|
@ -32,7 +32,7 @@
|
|||
namespace AK {
|
||||
|
||||
template<typename ValueType, typename ErrorType>
|
||||
class Result {
|
||||
class [[nodiscard]] Result {
|
||||
public:
|
||||
Result(const ValueType& res)
|
||||
: m_result(res)
|
||||
|
|
Loading…
Reference in a new issue