kern: KAutoObject doesn't need (virtual) destructor

This commit is contained in:
Michael Scire 2021-09-17 15:08:13 -07:00 committed by SciresM
parent 183243bf16
commit 572cbd8619
29 changed files with 7 additions and 43 deletions

View file

@ -33,7 +33,6 @@ namespace ams::kern {
ThreadListNode *m_thread_list_tail;
protected:
constexpr ALWAYS_INLINE explicit KSynchronizationObject() : KAutoObjectWithList(), m_thread_list_head(), m_thread_list_tail() { MESOSPHERE_ASSERT_THIS(); }
virtual ~KSynchronizationObject() { MESOSPHERE_ASSERT_THIS(); }
virtual void OnFinalizeSynchronizationObject() { MESOSPHERE_ASSERT_THIS(); }