aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_synchronization_object.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-23 21:50:04 -0700
committerbunnei <bunneidev@gmail.com>2021-05-05 16:40:52 -0700
commitbf380b858481ef99d7150d322af2c30ac339bcde (patch)
tree823c0fb0cdb300d01fd02567c2126fa6ad582325 /src/core/hle/kernel/k_synchronization_object.h
parent864841eb9eb3af7443aa3672e812e512967ea46e (diff)
hle: kernel: Remove deprecated Object class.
Diffstat (limited to 'src/core/hle/kernel/k_synchronization_object.h')
-rw-r--r--src/core/hle/kernel/k_synchronization_object.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/hle/kernel/k_synchronization_object.h b/src/core/hle/kernel/k_synchronization_object.h
index 5a99dbd46..a41dd1220 100644
--- a/src/core/hle/kernel/k_synchronization_object.h
+++ b/src/core/hle/kernel/k_synchronization_object.h
@@ -51,13 +51,4 @@ private:
ThreadListNode* thread_list_tail{};
};
-// Specialization of DynamicObjectCast for KSynchronizationObjects
-template <>
-inline KSynchronizationObject* DynamicObjectCast<KSynchronizationObject>(Object* object) {
- if (object != nullptr && object->IsWaitable()) {
- return reinterpret_cast<KSynchronizationObject*>(object);
- }
- return nullptr;
-}
-
} // namespace Kernel