diff options
| author | Nils Maier <maierman@web.de> | 2014-05-28 03:41:09 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-05-29 19:38:34 +0200 |
| commit | b9fe4119c0f7165669e87cb1423efb030eb96c4d (patch) | |
| tree | be711120896da0db842537c0bf2a0b864c0182ec /src/OptionHandlerFactory.cc | |
| parent | c8ccb434288dff750ff7a8d22d0551043b1eb1e5 (diff) | |
New round of clang-modernize
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 7ef8a325..a08e6634 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -869,9 +869,9 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() handlers.push_back(op); } { - DefaultOptionHandler* op(new DefaultOptionHandler + auto op = new DefaultOptionHandler (PREF_RPC_SECRET, - TEXT_RPC_SECRET)); + TEXT_RPC_SECRET); op->addTag(TAG_RPC); op->setEraseAfterParse(true); op->setAllowEmpty(false); |
