Services: Make SessionDataBase's destructor virtual.

master
Subv 2018-01-03 10:52:46 +07:00
parent 75f68c4860
commit aa90198ec5
1 changed files with 3 additions and 1 deletions

@ -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.