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

@ -239,10 +239,7 @@ namespace ams::kern {
public:
constexpr KThread() : m_wait_result(svc::ResultNoSynchronizationObject()), m_debug_exception_result(ResultSuccess()) { /* ... */ }
virtual ~KThread() { /* ... */ }
Result Initialize(KThreadFunction func, uintptr_t arg, void *kern_stack_top, KProcessAddress user_stack_top, s32 prio, s32 virt_core, KProcess *owner, ThreadType type);
private:
static Result InitializeThread(KThread *thread, KThreadFunction func, uintptr_t arg, KProcessAddress user_stack_top, s32 prio, s32 virt_core, KProcess *owner, ThreadType type);
public: