summaryrefslogtreecommitdiffstats
path: root/src/lib/hooks/hooks_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hooks/hooks_parser.cc')
-rw-r--r--src/lib/hooks/hooks_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hooks/hooks_parser.cc b/src/lib/hooks/hooks_parser.cc
index cfd4a7e8f5..976f6a0bd0 100644
--- a/src/lib/hooks/hooks_parser.cc
+++ b/src/lib/hooks/hooks_parser.cc
@@ -54,7 +54,7 @@ HooksLibrariesParser::parse(HooksConfig& libraries, ConstElementPtr value) {
// values from the previous loop round.
parameters.reset();
- BOOST_FOREACH(auto entry_item, library_entry->mapValue()) {
+ BOOST_FOREACH(auto const& entry_item, library_entry->mapValue()) {
if (entry_item.first == "library") {
if (entry_item.second->getType() != Element::string) {
isc_throw(DhcpConfigError, "hooks library configuration"