]> git.tdb.fi Git - libs/gui.git/commitdiff
Make ControlScheme's destructor virtual
authorMikko Rasa <tdb@tdb.fi>
Sun, 27 Nov 2022 08:21:47 +0000 (10:21 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 27 Nov 2022 08:21:47 +0000 (10:21 +0200)
source/input/controlscheme.h

index dabcec29d726d4103ff877ed35136c98416847ce..d821fc56f27275127f57d295c1267f8c6570a5b6 100644 (file)
@@ -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;