mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Everywhere: Fix trivial -Wunnecessary-virtual-specifier instances
- `Threading::Thread` is not polymorphic, there is no need for a virtual destructor. - `HTMLAnchorElement::has_download_preference` isn't overridden by anything. This warning was introduced in llvm/llvm-project#131188.
This commit is contained in:
parent
456d750539
commit
a2167f126d
|
|
@ -55,7 +55,7 @@ public:
|
|||
return adopt_nonnull_ref_or_enomem(new (nothrow) Thread(move(action), thread_name));
|
||||
}
|
||||
|
||||
virtual ~Thread();
|
||||
~Thread();
|
||||
|
||||
ErrorOr<void> set_priority(int priority);
|
||||
ErrorOr<int> get_priority() const;
|
||||
|
|
|
|||
|
|
@ -38,12 +38,14 @@ public:
|
|||
private:
|
||||
HTMLAnchorElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
bool has_download_preference() const;
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
// ^DOM::EventTarget
|
||||
virtual bool has_activation_behavior() const override;
|
||||
virtual void activation_behavior(Web::DOM::Event const&) override;
|
||||
virtual bool has_download_preference() const;
|
||||
|
||||
// ^DOM::Element
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user