diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/OptionHandlerException.cc | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/OptionHandlerException.cc')
| -rw-r--r-- | src/OptionHandlerException.cc | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/src/OptionHandlerException.cc b/src/OptionHandlerException.cc index eb2d1513..301c44a9 100644 --- a/src/OptionHandlerException.cc +++ b/src/OptionHandlerException.cc @@ -39,26 +39,25 @@ namespace aria2 { namespace { const char* MESSAGE = - _("We encountered a problem while processing the option '--%s'."); + _("We encountered a problem while processing the option '--%s'."); } // namespace -OptionHandlerException::OptionHandlerException -(const char* file, int line, - PrefPtr pref) - : RecoverableException - (file, line, fmt(MESSAGE, pref->k), error_code::OPTION_ERROR), - pref_(pref) -{} +OptionHandlerException::OptionHandlerException(const char* file, int line, + PrefPtr pref) + : RecoverableException(file, line, fmt(MESSAGE, pref->k), + error_code::OPTION_ERROR), + pref_(pref) +{ +} -OptionHandlerException::OptionHandlerException -(const char* file, int line, - PrefPtr pref, - const Exception& cause) - : RecoverableException - (file, line, fmt(MESSAGE, pref->k), error_code::OPTION_ERROR, - cause), - pref_(pref) -{} +OptionHandlerException::OptionHandlerException(const char* file, int line, + PrefPtr pref, + const Exception& cause) + : RecoverableException(file, line, fmt(MESSAGE, pref->k), + error_code::OPTION_ERROR, cause), + pref_(pref) +{ +} OptionHandlerException::~OptionHandlerException() throw() {} |
