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:
Zaggy1024 2025-09-17 15:44:27 -05:00 committed by Gregory Bertilson
parent 55f334b473
commit 5383265b9c

View File

@ -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;