diff options
author | Luke Wilde <lukew@serenityos.org> | 2023-02-27 22:43:42 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-27 23:57:08 +0000 |
commit | fc538bc00b6aeaf1f925cdbe94de4a48d88f7456 (patch) | |
tree | b0ad25919ad541cd62dfa97c9ee0d553edbe1224 /Userland/Libraries/LibJS/Runtime/Completion.h | |
parent | 8f4bec2b4a5131571e33040514a489acf3ca44ba (diff) | |
download | serenity-fc538bc00b6aeaf1f925cdbe94de4a48d88f7456.zip |
LibJS: Add [[nodiscard]] to ThrowCompletionOr<void>
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; }; |