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}; }