From 8e3f25851c027336178f9ceaa852fb07714ea949 Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Tue, 19 Nov 2019 13:36:04 +0100 Subject: [PATCH] Pass by const ref --- fairmq/DeviceRunner.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fairmq/DeviceRunner.cxx b/fairmq/DeviceRunner.cxx index 4ad26d05..b05c713a 100644 --- a/fairmq/DeviceRunner.cxx +++ b/fairmq/DeviceRunner.cxx @@ -75,7 +75,7 @@ void DeviceRunner::SubscribeForConfigChange() fair::Logger::SetConsoleColor(val); } }); - fConfig.Subscribe("device-runner", [&](const std::string& key, const std::string val) { + fConfig.Subscribe("device-runner", [&](const std::string& key, const std::string& val) { if (key == "severity") { fair::Logger::SetConsoleSeverity(val); } else if (key == "file-severity") {