diff --git a/RecoVertex/KinematicFit/interface/KinematicConstrainedVertexUpdatorT.h b/RecoVertex/KinematicFit/interface/KinematicConstrainedVertexUpdatorT.h index ba23412d10e64..ac28f6d24bfb4 100644 --- a/RecoVertex/KinematicFit/interface/KinematicConstrainedVertexUpdatorT.h +++ b/RecoVertex/KinematicFit/interface/KinematicConstrainedVertexUpdatorT.h @@ -18,7 +18,7 @@ namespace KineDebug3 { }; inline void count() { - static Count c; + [[cms::thread_safe]] static Count c; ++c.n; }