aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/object.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-12 11:36:31 -0400
committerLioncash <mathew1800@gmail.com>2018-10-12 12:07:32 -0400
commitd1c7aa8c6cd926768078c67efe994bff8acf7b78 (patch)
treec8459ae8d497e7a148365f93e971b817a0adf0f6 /src/core/hle/kernel/object.cpp
parent69b235739534c96af4ae067ac20805f26e3c5194 (diff)
kernel/process: Make CodeSet a regular non-inherited object
These only exist to ferry data into a Process instance and end up going out of scope quite early. Because of this, we can just make it a plain struct for holding things and just std::move it into the relevant function. There's no need to make this inherit from the kernel's Object type.
Diffstat (limited to 'src/core/hle/kernel/object.cpp')
-rw-r--r--src/core/hle/kernel/object.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/object.cpp b/src/core/hle/kernel/object.cpp
index d51562d92c..d87a62bb93 100644
--- a/src/core/hle/kernel/object.cpp
+++ b/src/core/hle/kernel/object.cpp
@@ -25,7 +25,6 @@ bool Object::IsWaitable() const {
case HandleType::Process:
case HandleType::AddressArbiter:
case HandleType::ResourceLimit:
- case HandleType::CodeSet:
case HandleType::ClientPort:
case HandleType::ClientSession:
return false;