diff options
| author | Nils Maier <maierman@web.de> | 2013-08-25 17:36:53 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-09-19 19:59:33 +0200 |
| commit | a76eeb2b8106dd725097750c3ee4958e505e3c85 (patch) | |
| tree | 3d84a88129aca630dde2b9f03208142d0a981149 /src/OptionHandlerException.cc | |
| parent | 8e6e46dfcfdd269538e6c3070e6eea4b624d74fe (diff) | |
Introduce PrefPtr typedef
Diffstat (limited to 'src/OptionHandlerException.cc')
| -rw-r--r-- | src/OptionHandlerException.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OptionHandlerException.cc b/src/OptionHandlerException.cc index 6fe1b23c..7cf2a1c5 100644 --- a/src/OptionHandlerException.cc +++ b/src/OptionHandlerException.cc @@ -45,7 +45,7 @@ const char* MESSAGE = OptionHandlerException::OptionHandlerException (const char* file, int line, - const Pref* pref) + PrefPtr pref) : RecoverableException (file, line, fmt(MESSAGE, pref->k), error_code::OPTION_ERROR), pref_(pref) @@ -53,7 +53,7 @@ OptionHandlerException::OptionHandlerException OptionHandlerException::OptionHandlerException (const char* file, int line, - const Pref* pref, + PrefPtr pref, const Exception& cause) : RecoverableException (file, line, fmt(MESSAGE, pref->k), error_code::OPTION_ERROR, |
