]> git.tdb.fi Git - gldbg.git/blobdiff - source/commandinterpreter.h
Add some virtual destructors to shut up older gcc versions
[gldbg.git] / source / commandinterpreter.h
index 63245227844d0351c41959d26022d225787cb138..cc6246e927390465301983e03cd290662a8d37e3 100644 (file)
@@ -24,8 +24,9 @@ public:
 
        protected:
                Command() { }
-
        public:
+               virtual ~Command() { }
+
                void set_help(const std::string &);
                void set_help(const std::string &, const std::string &);
                const std::string &get_description() const { return description; }