summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_synchronization_object.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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