Commit 362131cf authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[5019] setListDefaults argument constified

parent 96cdf5b0
......@@ -137,7 +137,7 @@ size_t SimpleParser::setDefaults(isc::data::ElementPtr scope,
}
size_t
SimpleParser::setListDefaults(isc::data::ElementPtr list,
SimpleParser::setListDefaults(isc::data::ConstElementPtr list,
const SimpleDefaults& default_values) {
size_t cnt = 0;
BOOST_FOREACH(ElementPtr entry, list->listValue()) {
......
......@@ -98,7 +98,7 @@ class SimpleParser {
/// @param list list to be iterated over
/// @param default_values list of default values
/// @return number of parameters inserted
static size_t setListDefaults(isc::data::ElementPtr list,
static size_t setListDefaults(isc::data::ConstElementPtr list,
const SimpleDefaults& default_values);
/// @brief Utility method that returns position of an element
......
Markdown is supported
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