diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 22:45:31 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 22:45:31 +0900 |
| commit | ae2e4cb7ffbe5d0384056cbf40f355e75f9defd7 (patch) | |
| tree | d7e4359b34c964c9c9085832dba94721d8dd35a6 /src/AbstractOptionHandler.h | |
| parent | 8fc5cdea02afe9992acb680cf7ecce9f445fc5de (diff) | |
Handle OptionHandlers as raw pointer
Diffstat (limited to 'src/AbstractOptionHandler.h')
| -rw-r--r-- | src/AbstractOptionHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AbstractOptionHandler.h b/src/AbstractOptionHandler.h index 296852b6..5af9cc10 100644 --- a/src/AbstractOptionHandler.h +++ b/src/AbstractOptionHandler.h @@ -54,7 +54,7 @@ protected: char shortName_; - virtual void parseArg(Option& option, const std::string& arg) = 0; + virtual void parseArg(Option& option, const std::string& arg) const = 0; public: AbstractOptionHandler(const Pref* pref, const char* description = NO_DESCRIPTION, @@ -64,7 +64,7 @@ public: virtual ~AbstractOptionHandler(); - virtual void parse(Option& option, const std::string& arg); + virtual void parse(Option& option, const std::string& arg) const; virtual bool hasTag(uint32_t tag) const; |
