summaryrefslogtreecommitdiffstats
path: root/src/lib/process/d_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/process/d_controller.cc')
-rw-r--r--src/lib/process/d_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/process/d_controller.cc b/src/lib/process/d_controller.cc
index 9b8f65edc4..d6f14d1ea9 100644
--- a/src/lib/process/d_controller.cc
+++ b/src/lib/process/d_controller.cc
@@ -530,7 +530,7 @@ DControllerBase::handleOtherObjects(ConstElementPtr args) {
// Check obsolete or unknown (aka unsupported) objects.
const std::string& app_name = getAppName();
std::string errmsg;
- for (auto obj : args->mapValue()) {
+ for (auto const& obj : args->mapValue()) {
const std::string& obj_name = obj.first;
if (obj_name == app_name) {
continue;