Skip to content

Commit 18557b2

Browse files
committed
ITS: const log func
1 parent b241325 commit 18557b2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ void ITSTrackingInterface::run(framework::ProcessingContext& pc)
211211
loadROF(trackROFspan, compClusters, pattIt, labels);
212212
pattIt = patterns.begin();
213213
std::vector<int> savedROF;
214-
auto logger = [&](std::string s) { LOG(info) << s; };
215-
auto fatalLogger = [&](std::string s) { LOG(fatal) << s; };
216-
auto errorLogger = [&](std::string s) { LOG(error) << s; };
214+
auto logger = [&](const std::string& s) { LOG(info) << s; };
215+
auto fatalLogger = [&](const std::string& s) { LOG(fatal) << s; };
216+
auto errorLogger = [&](const std::string& s) { LOG(error) << s; };
217217

218218
FastMultEst multEst; // mult estimator
219219
std::vector<uint8_t> processingMask, processUPCMask;

0 commit comments

Comments
 (0)