mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibJS: Add [[nodiscard]] to ThrowCompletionOr<void>
This commit is contained in:
@@ -344,7 +344,7 @@ private:
|
||||
};
|
||||
|
||||
template<>
|
||||
class ThrowCompletionOr<void> : public ThrowCompletionOr<Empty> {
|
||||
class [[nodiscard]] ThrowCompletionOr<void> : public ThrowCompletionOr<Empty> {
|
||||
public:
|
||||
using ThrowCompletionOr<Empty>::ThrowCompletionOr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user