X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d625e80d62fc8b98c18a95c65e6fa329b7fcc85b..920fdb96809e7caae6a7cecc0ac8e5f7e26411c5:/projects/sgconf/action.h diff --git a/projects/sgconf/action.h b/projects/sgconf/action.h index 64d7c1e8..0c1b4f92 100644 --- a/projects/sgconf/action.h +++ b/projects/sgconf/action.h @@ -40,6 +40,7 @@ class ACTION virtual std::string DefaultDescription() const = 0; virtual OPTION_BLOCK & Suboptions() = 0; virtual PARSER_STATE Parse(int argc, char ** argv) = 0; + virtual void ParseValue(const std::string &) {} class ERROR : public std::runtime_error { @@ -49,13 +50,6 @@ class ACTION }; }; -template -class ACTION_CLONE_MIXIN : public ACTION -{ - public: - virtual ACTION * Clone() const { return new T(*this); } -}; - } // namespace SGCONF #endif