summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_auto_object_container.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-07 00:39:11 +0200
committerbunnei <bunneidev@gmail.com>2021-06-07 00:39:11 +0200
commit611983679593d8a666551254bc97490effbb6519 (patch)
tree19e9f1fe9664a6b6558258c1c58a30d803e30d93 /src/core/hle/kernel/k_auto_object_container.h
parenthle: kernel: Refactor to allocate a ServiceThread per service handler. (diff)
downloadyuzu-611983679593d8a666551254bc97490effbb6519.tar
yuzu-611983679593d8a666551254bc97490effbb6519.tar.gz
yuzu-611983679593d8a666551254bc97490effbb6519.tar.bz2
yuzu-611983679593d8a666551254bc97490effbb6519.tar.lz
yuzu-611983679593d8a666551254bc97490effbb6519.tar.xz
yuzu-611983679593d8a666551254bc97490effbb6519.tar.zst
yuzu-611983679593d8a666551254bc97490effbb6519.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_auto_object_container.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_auto_object_container.h b/src/core/hle/kernel/k_auto_object_container.h
index ff40cf5a7..459953450 100644
--- a/src/core/hle/kernel/k_auto_object_container.h
+++ b/src/core/hle/kernel/k_auto_object_container.h
@@ -6,6 +6,8 @@
#include <atomic>
+#include <boost/intrusive/rbtree.hpp>
+
#include "common/assert.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
@@ -23,8 +25,7 @@ class KAutoObjectWithListContainer {
YUZU_NON_MOVEABLE(KAutoObjectWithListContainer);
public:
- using ListType = Common::IntrusiveRedBlackTreeMemberTraits<
- &KAutoObjectWithList::list_node>::TreeType<KAutoObjectWithList>;
+ using ListType = boost::intrusive::rbtree<KAutoObjectWithList>;
public:
class ListAccessor : public KScopedLightLock {