mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
Kernel: Move Singleton class to AK
This commit is contained in:
parent
0e69ebbce4
commit
f0906250a1
Notes:
sideshowbarker
2024-07-19 03:19:57 +09:00
Author: https://github.com/tomuta
Commit: f0906250a1
Pull-request: https://github.com/SerenityOS/serenity/pull/3248
31 changed files with 87 additions and 71 deletions
|
@ -24,12 +24,12 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <AK/Singleton.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <Kernel/FileSystem/FileDescription.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
#include <Kernel/Net/LocalSocket.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/Singleton.h>
|
||||
#include <Kernel/StdLib.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static auto s_list = make_singleton<Lockable<InlineLinkedList<LocalSocket>>>();
|
||||
static auto s_list = AK::make_singleton<Lockable<InlineLinkedList<LocalSocket>>>();
|
||||
|
||||
Lockable<InlineLinkedList<LocalSocket>>& LocalSocket::all_sockets()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue