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 : public ThrowCompletionOr { +class [[nodiscard]] ThrowCompletionOr : public ThrowCompletionOr { public: using ThrowCompletionOr::ThrowCompletionOr; };