diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Completion.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Completion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Completion.h b/Userland/Libraries/LibJS/Runtime/Completion.h index 78e7bc8b87..6e3b64dc40 100644 --- a/Userland/Libraries/LibJS/Runtime/Completion.h +++ b/Userland/Libraries/LibJS/Runtime/Completion.h @@ -344,7 +344,7 @@ private: }; template<> -class ThrowCompletionOr<void> : public ThrowCompletionOr<Empty> { +class [[nodiscard]] ThrowCompletionOr<void> : public ThrowCompletionOr<Empty> { public: using ThrowCompletionOr<Empty>::ThrowCompletionOr; }; |