mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibThreading: Forward-declare Thread in LibThreading/Forward.h
The class is ref-counted, so using forward declarations in a lot of headers currently including Thread.h is an easy change.
This commit is contained in:
parent
55f334b473
commit
5383265b9c
Notes:
github-actions[bot]
2025-09-23 14:59:30 +00:00
Author: https://github.com/Zaggy1024
Commit: 5383265b9c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6223
Reviewed-by: https://github.com/konradekk
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Gregory Bertilson <gregory@ladybird.org>
|
||||
* Copyright (c) 2023-2025, Gregory Bertilson <gregory@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
namespace Threading {
|
||||
|
||||
class Thread;
|
||||
|
||||
template<typename ErrorType>
|
||||
class WorkerThread;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue