summaryrefslogtreecommitdiffstats
path: root/src/lib/cc/command_interpreter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cc/command_interpreter.cc')
-rw-r--r--src/lib/cc/command_interpreter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cc/command_interpreter.cc b/src/lib/cc/command_interpreter.cc
index 0ea03bcd48..50b390621d 100644
--- a/src/lib/cc/command_interpreter.cc
+++ b/src/lib/cc/command_interpreter.cc
@@ -212,8 +212,8 @@ parseCommand(ConstElementPtr& arg, ConstElementPtr command) {
}
// Make sure that all specified parameters are supported.
- auto command_params = command->mapValue();
- for (auto param : command_params) {
+ auto const& command_params = command->mapValue();
+ for (const auto& param : command_params) {
if ((param.first != CONTROL_COMMAND) &&
(param.first != CONTROL_ARGUMENTS) &&
(param.first != CONTROL_SERVICE) &&