diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-10-22 01:03:14 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-10-22 01:03:14 +0900 |
| commit | d5c8d048efeb524d5d2222b4547f9dd19e943f13 (patch) | |
| tree | 117dd74fff2594be1ee6d6ba00dc9d8c301bf05e /src/OptionHandlerException.h | |
| parent | 3832ed97c616eff0057d7a0e5a161c4282537160 (diff) | |
Rewritten OptionParser. Made it simpler and efficient.
Diffstat (limited to 'src/OptionHandlerException.h')
| -rw-r--r-- | src/OptionHandlerException.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/OptionHandlerException.h b/src/OptionHandlerException.h index fae9d67f..a400ccee 100644 --- a/src/OptionHandlerException.h +++ b/src/OptionHandlerException.h @@ -57,7 +57,10 @@ public: virtual ~OptionHandlerException() throw(); - const std::string& getOptionName() const throw(); + const Pref* getPref() const + { + return pref_; + } }; #define OPTION_HANDLER_EXCEPTION(arg) \ |
