From: Mikko Rasa Date: Sun, 27 Nov 2022 08:21:47 +0000 (+0200) Subject: Make ControlScheme's destructor virtual X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=f6f14505a97a58e71654dde3aaecdf02fc7a7988;p=libs%2Fgui.git Make ControlScheme's destructor virtual --- 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;