X-Git-Url: http://git.tdb.fi/?p=gldbg.git;a=blobdiff_plain;f=source%2Fcommandinterpreter.h;h=cc6246e927390465301983e03cd290662a8d37e3;hp=63245227844d0351c41959d26022d225787cb138;hb=73c55fc88d8bad336fbd6cfecedc0cf18d06167c;hpb=7bd7fc784a6f6cff69f79914a445bc2115a7e768 diff --git a/source/commandinterpreter.h b/source/commandinterpreter.h index 6324522..cc6246e 100644 --- a/source/commandinterpreter.h +++ b/source/commandinterpreter.h @@ -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; }