Commit 8449c610 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3427] parseConfiguration() log_config parameter is now const referenced.

parent d26a4945
...@@ -34,7 +34,7 @@ LogConfigParser::LogConfigParser(const ConfigurationPtr& storage) ...@@ -34,7 +34,7 @@ LogConfigParser::LogConfigParser(const ConfigurationPtr& storage)
} }
} }
void LogConfigParser::parseConfiguration(isc::data::ConstElementPtr loggers, void LogConfigParser::parseConfiguration(const isc::data::ConstElementPtr& loggers,
bool verbose) { bool verbose) {
verbose_ = verbose; verbose_ = verbose;
......
...@@ -61,7 +61,7 @@ public: ...@@ -61,7 +61,7 @@ public:
/// ///
/// @param log_config JSON structures to be parsed (loggers list) /// @param log_config JSON structures to be parsed (loggers list)
/// @param verbose specifies verbose mode (true forces DEBUG, debuglevel = 99) /// @param verbose specifies verbose mode (true forces DEBUG, debuglevel = 99)
void parseConfiguration(isc::data::ConstElementPtr log_config, void parseConfiguration(const isc::data::ConstElementPtr& log_config,
bool verbose = false); bool verbose = false);
/// @brief Applies stored configuration /// @brief Applies stored configuration
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment