From ae2e4cb7ffbe5d0384056cbf40f355e75f9defd7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 27 Sep 2012 22:45:31 +0900 Subject: Handle OptionHandlers as raw pointer --- src/AbstractOptionHandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/AbstractOptionHandler.h') 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; -- cgit