summaryrefslogtreecommitdiffstats
path: root/src/lib/database/database_connection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/database/database_connection.cc')
-rw-r--r--src/lib/database/database_connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/database/database_connection.cc b/src/lib/database/database_connection.cc
index d0bf207277..43bdfaaae6 100644
--- a/src/lib/database/database_connection.cc
+++ b/src/lib/database/database_connection.cc
@@ -220,7 +220,7 @@ isc::data::ElementPtr
DatabaseConnection::toElement(const ParameterMap& params) {
isc::data::ElementPtr result = isc::data::Element::createMap();
- for (auto param: params) {
+ for (const auto& param : params) {
std::string keyword = param.first;
std::string value = param.second;