diff options
| author | Liam <byteslice@airmail.cc> | 2023-04-29 15:10:09 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-04-29 22:11:32 -0400 |
| commit | b143ce8134cc851d065410ba3a825cc6a5bf34e0 (patch) | |
| tree | 9180ba87fe3472b60f64bb5256177d511a9b6936 /src/core/hle/kernel/k_object_name.h | |
| parent | 2afaa7aed7070907faed3d5f491672ea5f1aa480 (diff) | |
kernel: remove general boost lists
Diffstat (limited to 'src/core/hle/kernel/k_object_name.h')
| -rw-r--r-- | src/core/hle/kernel/k_object_name.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_object_name.h b/src/core/hle/kernel/k_object_name.h index 2d97fc777..a8876fe37 100644 --- a/src/core/hle/kernel/k_object_name.h +++ b/src/core/hle/kernel/k_object_name.h @@ -5,7 +5,8 @@ #include <array> #include <memory> -#include <boost/intrusive/list.hpp> + +#include "common/intrusive_list.h" #include "core/hle/kernel/k_light_lock.h" #include "core/hle/kernel/slab_helpers.h" @@ -15,13 +16,14 @@ namespace Kernel { class KObjectNameGlobalData; -class KObjectName : public KSlabAllocated<KObjectName>, public boost::intrusive::list_base_hook<> { +class KObjectName : public KSlabAllocated<KObjectName>, + public Common::IntrusiveListBaseNode<KObjectName> { public: explicit KObjectName(KernelCore&) {} virtual ~KObjectName() = default; static constexpr size_t NameLengthMax = 12; - using List = boost::intrusive::list<KObjectName>; + using List = Common::IntrusiveListBaseTraits<KObjectName>::ListType; static Result NewFromName(KernelCore& kernel, KAutoObject* obj, const char* name); static Result Delete(KernelCore& kernel, KAutoObject* obj, const char* name); |
