summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-24 21:46:42 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-24 21:46:42 +0900
commit10cdc59297f4e1327217008f2ae073c400959df2 (patch)
tree2f586b0842aba8162e37497e25a1ddd6ceb156e6 /src/OptionHandlerFactory.cc
parentd2ec57057e591810ebbb5febb34ae0cadf5068c5 (diff)
Remove vbegin and vend in favor of std::begin and std::end
Diffstat (limited to 'src/OptionHandlerFactory.cc')
-rw-r--r--src/OptionHandlerFactory.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
index 57b052d1..aa4809fb 100644
--- a/src/OptionHandlerFactory.cc
+++ b/src/OptionHandlerFactory.cc
@@ -220,8 +220,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
(PREF_CONSOLE_LOG_LEVEL,
TEXT_CONSOLE_LOG_LEVEL,
V_NOTICE,
- std::vector<std::string>
- (vbegin(logLevels), vend(logLevels))));
+ {std::begin(logLevels), std::end(logLevels)}));
op->addTag(TAG_ADVANCED);
handlers.push_back(op);
}
@@ -479,8 +478,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
(PREF_LOG_LEVEL,
TEXT_LOG_LEVEL,
V_DEBUG,
- std::vector<std::string>
- (vbegin(logLevels), vend(logLevels))));
+ {std::begin(logLevels), std::end(logLevels)}));
op->addTag(TAG_ADVANCED);
op->setChangeGlobalOption(true);
handlers.push_back(op);