remove extra brackets

This commit is contained in:
Sergei Semin 2019-02-02 17:29:54 +03:00
parent 21cc1f6488
commit f3bbb07337

View File

@ -1651,12 +1651,10 @@ public:
#undef EXTRACT_SETTING #undef EXTRACT_SETTING
/// Save received data into the internal config. /// Save received data into the internal config.
if (options.count("config-file")) { if (options.count("config-file"))
config().setString("config-file", options["config-file"].as<std::string>()); config().setString("config-file", options["config-file"].as<std::string>());
} if (options.count("Config-file"))
if (options.count("Config-file")) {
config().setString("config-file", options["Config-file"].as<std::string>()); config().setString("config-file", options["Config-file"].as<std::string>());
}
if (options.count("host") && !options["host"].defaulted()) if (options.count("host") && !options["host"].defaulted())
config().setString("host", options["host"].as<std::string>()); config().setString("host", options["host"].as<std::string>());
if (options.count("query_id")) if (options.count("query_id"))