Commit a030bd71 authored by JINMEI Tatuya's avatar JINMEI Tatuya

made ModuleSpec::validate_command() a const member function

parent d24563e0
......@@ -185,7 +185,7 @@ ModuleSpec::validate_config(ConstElementPtr data, const bool full) const {
bool
ModuleSpec::validate_command(const std::string& command,
ConstElementPtr args,
ElementPtr errors)
ElementPtr errors) const
{
ConstElementPtr commands_spec = module_specification->find("commands");
......
......@@ -102,7 +102,7 @@ namespace isc { namespace config {
/// false otherwise
bool validate_command(const std::string& command,
isc::data::ConstElementPtr args,
isc::data::ElementPtr errors);
isc::data::ElementPtr errors) const;
/// errors must be of type ListElement
......
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