From d4dffcb147e8f77d80fee6d755e870e8980dcc12 Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Wed, 3 Apr 2024 20:42:17 +0200 Subject: [PATCH] Update Core/src/Utilities/TrackHelpers.cpp Co-authored-by: Tim Adye --- Core/src/Utilities/TrackHelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/Utilities/TrackHelpers.cpp b/Core/src/Utilities/TrackHelpers.cpp index 11a2dfd7eae..a20350628ac 100644 --- a/Core/src/Utilities/TrackHelpers.cpp +++ b/Core/src/Utilities/TrackHelpers.cpp @@ -35,6 +35,6 @@ class TrackExtrapolationErrorCategory : public std::error_category { } // namespace std::error_code Acts::make_error_code(Acts::TrackExtrapolationError e) { - static TrackExtrapolationErrorCategory c; + static const TrackExtrapolationErrorCategory c; return {static_cast(e), c}; }