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

@@ -21,13 +21,12 @@ namespace ams::kern {
class KLightSession;
class KLightClientSession final : public KAutoObjectWithSlabHeapAndContainer<KLightClientSession, KAutoObjectWithList> {
class KLightClientSession final : public KAutoObject {
MESOSPHERE_AUTOOBJECT_TRAITS(KLightClientSession, KAutoObject);
private:
KLightSession *m_parent;
public:
constexpr KLightClientSession() : m_parent() { /* ... */ }
virtual ~KLightClientSession() { /* ... */ }
void Initialize(KLightSession *parent) {
/* Set member variables. */