Services: Make SessionDataBase's destructor virtual.

This commit is contained in:
Subv 2018-01-03 10:52:46 -05:00
parent 75f68c4860
commit aa90198ec5

View file

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