summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/hle_ipc.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-21 07:18:56 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:52 +0200
commitaa2844bcf9b2b9bca2ce263270b963ffd13b05e7 (patch)
tree63af3d8c8b09f5fb834f764dd6a557ac0900f664 /src/core/hle/kernel/hle_ipc.h
parenthle: kernel: Migrate KResourceLimit to KAutoObject. (diff)
downloadyuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.gz
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.bz2
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.lz
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.xz
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.zst
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.zip
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.h')
-rw-r--r--src/core/hle/kernel/hle_ipc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index dc5c3b47d..b7484c445 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -16,7 +16,7 @@
#include "common/concepts.h"
#include "common/swap.h"
#include "core/hle/ipc.h"
-#include "core/hle/kernel/object.h"
+#include "core/hle/kernel/k_auto_object.h"
union ResultCode;
@@ -228,11 +228,11 @@ public:
return DynamicObjectCast<T>(move_objects.at(index));
}
- void AddMoveObject(Object* object) {
+ void AddMoveObject(KAutoObject* object) {
move_objects.emplace_back(object);
}
- void AddCopyObject(Object* object) {
+ void AddCopyObject(KAutoObject* object) {
copy_objects.emplace_back(object);
}
@@ -292,8 +292,8 @@ private:
// TODO(yuriks): Check common usage of this and optimize size accordingly
boost::container::small_vector<Handle, 8> move_handles;
boost::container::small_vector<Handle, 8> copy_handles;
- boost::container::small_vector<Object*, 8> move_objects;
- boost::container::small_vector<Object*, 8> copy_objects;
+ boost::container::small_vector<KAutoObject*, 8> move_objects;
+ boost::container::small_vector<KAutoObject*, 8> copy_objects;
boost::container::small_vector<std::shared_ptr<SessionRequestHandler>, 8> domain_objects;
std::optional<IPC::CommandHeader> command_header;