From aa90198ec5e1bab2a7b875611ac07ac6da05fe6e Mon Sep 17 00:00:00 2001 From: Subv Date: Wed, 3 Jan 2018 10:52:46 -0500 Subject: [PATCH] Services: Make SessionDataBase's destructor virtual. --- src/core/hle/kernel/hle_ipc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index ccff81a21a..95d9624db0 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -59,7 +59,9 @@ public: /// Empty placeholder structure for services with no per-session data. The session data classes /// in each service must inherit from this. - struct SessionDataBase {}; + struct SessionDataBase { + virtual ~SessionDataBase() = default; + }; protected: /// Creates the storage for the session data of the service.