From f6f14505a97a58e71654dde3aaecdf02fc7a7988 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 27 Nov 2022 10:21:47 +0200 Subject: [PATCH] Make ControlScheme's destructor virtual --- source/input/controlscheme.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/input/controlscheme.h b/source/input/controlscheme.h index dabcec2..d821fc5 100644 --- a/source/input/controlscheme.h +++ b/source/input/controlscheme.h @@ -16,7 +16,10 @@ private: protected: ControlScheme() = default; +public: + virtual ~ControlScheme() = default; +protected: void add(const std::string &, Control &); public: Control &get(const std::string &) const; -- 2.45.2