mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Pass by const ref
This commit is contained in:
parent
ce937ca03e
commit
8e3f25851c
|
@ -75,7 +75,7 @@ void DeviceRunner::SubscribeForConfigChange()
|
|||
fair::Logger::SetConsoleColor(val);
|
||||
}
|
||||
});
|
||||
fConfig.Subscribe<string>("device-runner", [&](const std::string& key, const std::string val) {
|
||||
fConfig.Subscribe<string>("device-runner", [&](const std::string& key, const std::string& val) {
|
||||
if (key == "severity") {
|
||||
fair::Logger::SetConsoleSeverity(val);
|
||||
} else if (key == "file-severity") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user