mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01: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
|
|
@ -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…
Reference in New Issue
Block a user