diff --git a/cmdopt.hpp b/cmdopt.hpp index 4c87496c..3f17e18c 100644 --- a/cmdopt.hpp +++ b/cmdopt.hpp @@ -48,6 +48,7 @@ namespace util { namespace cmdopt { public: value (std::string name, T&); + using base::execute; void execute (const char *restrict) override; T data (void) const; @@ -62,6 +63,8 @@ namespace util { namespace cmdopt { class count : public value { public: count (std::string name); + + using value::execute; void execute (void) override; }; @@ -69,6 +72,8 @@ namespace util { namespace cmdopt { class bytes : public value { public: bytes (std::string name); + + using value::execute; void execute (const char *restrict) override; }; }