mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:48:13 +00:00
LibJS: Add [[nodiscard]] to ThrowCompletionOr<void>
This commit is contained in:
parent
8f4bec2b4a
commit
fc538bc00b
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ private:
|
|||
};
|
||||
|
||||
template<>
|
||||
class ThrowCompletionOr<void> : public ThrowCompletionOr<Empty> {
|
||||
class [[nodiscard]] ThrowCompletionOr<void> : public ThrowCompletionOr<Empty> {
|
||||
public:
|
||||
using ThrowCompletionOr<Empty>::ThrowCompletionOr;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue