mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
Everywhere: Write dtors for types with incomplete members out-of-line
These are rejected by Clang (19) trunk as a result of https://github.com/llvm/llvm-project/pull/77753.
This commit is contained in:
parent
397774d422
commit
bf1f631f25
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/BertalanD
Commit: bf1f631f25
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/44
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
26 changed files with 42 additions and 9 deletions
|
@ -16,6 +16,8 @@ NetworkJob::NetworkJob(Stream& output_stream)
|
|||
{
|
||||
}
|
||||
|
||||
NetworkJob::~NetworkJob() = default;
|
||||
|
||||
void NetworkJob::did_finish(NonnullRefPtr<NetworkResponse>&& response)
|
||||
{
|
||||
if (is_cancelled())
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
ProtocolFailed,
|
||||
Cancelled,
|
||||
};
|
||||
virtual ~NetworkJob() override = default;
|
||||
virtual ~NetworkJob() override;
|
||||
|
||||
// Could fire twice, after Headers and after Trailers!
|
||||
Function<void(HTTP::HeaderMap const& response_headers, Optional<u32> response_code)> on_headers_received;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue