Bug 267205

Summary: Fix warnings found by compiling with -Wfinal-dtor-non-final-class
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit2Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 267387    

David Kilzer (:ddkilzer)
Reported 2024-01-07 08:39:57 PST
Fix warnings found by compiling with -Wfinal-dtor-non-final-class Example: Source/WebKit/webpushd/webpushtool/WebPushToolConnection.h:64:19: error: class with destructor marked 'final' cannot be inherited from [-Werror,-Wfinal-dtor-non-final-class] 59 | class Connection : public CanMakeWeakPtr<Connection>, public IPC::MessageSender { | final 60 | WTF_MAKE_FAST_ALLOCATED; 61 | public: 62 | static std::unique_ptr<Connection> create(std::optional<Action>, PreferTestService, Reconnect); 63 | Connection(std::optional<Action>, PreferTestService, Reconnect); 64 | ~Connection() final { } | ^ Source/WebKit/webpushd/webpushtool/WebPushToolConnection.h:59:7: note: mark 'WebPushTool::Connection' as 'final' to silence this warning 59 | class Connection : public CanMakeWeakPtr<Connection>, public IPC::MessageSender { | ^ 1 error generated.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-07 08:40:12 PST
David Kilzer (:ddkilzer)
Comment 2 2024-01-07 08:41:27 PST
EWS
Comment 3 2024-01-08 09:21:47 PST
Committed 272769@main (5381539f603f): <https://commits.webkit.org/272769@main> Reviewed commits have been landed. Closing PR #22487 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.