From 908f89cd01b5e360e354e8a7edf9af516ffddb67 Mon Sep 17 00:00:00 2001 From: Goetz Gaycken Date: Sat, 6 Apr 2024 10:09:36 +0200 Subject: [PATCH] Avoid creation of unused string. --- Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp b/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp index 47e27fd9893..28832a15679 100644 --- a/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp +++ b/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp @@ -654,8 +654,7 @@ class CombinatorialKalmanFilter { // The surface could be either sensitive or passive bool isSensitive = (surface->associatedDetectorElement() != nullptr); bool isMaterial = (surface->surfaceMaterial() != nullptr); - std::string type = isSensitive ? "sensitive" : "passive"; - ACTS_VERBOSE("Detected " << type + ACTS_VERBOSE("Detected " << (isSensitive ? "sensitive" : "passive") << " surface: " << surface->geometryId()); if (isSensitive) { // Increment of number of passed sensitive surfaces