diff --git a/Control/AthToolSupport/AsgTools/AsgTools/TProperty.icc b/Control/AthToolSupport/AsgTools/AsgTools/TProperty.icc index fbebe3a6235e363fa20ebce286d8581bb575d0e6..a92c39ac4da457ba4899684b251752200466be05 100644 --- a/Control/AthToolSupport/AsgTools/AsgTools/TProperty.icc +++ b/Control/AthToolSupport/AsgTools/AsgTools/TProperty.icc @@ -221,6 +221,7 @@ namespace asg }; /// \brief helper class for getting property values from strings + // cppcheck-suppress syntaxError template<typename T> struct SetStringHelper : SetStringHelperBase<T> { }; diff --git a/Tracking/TrkEvent/TrkParametersBase/TrkParametersBase/ParametersT.icc b/Tracking/TrkEvent/TrkParametersBase/TrkParametersBase/ParametersT.icc index f61aa0da5a180ba7f99666a8ec2703718344ea4a..249566cf1ef7b160951ea1f69ef0acec3ea07515 100644 --- a/Tracking/TrkEvent/TrkParametersBase/TrkParametersBase/ParametersT.icc +++ b/Tracking/TrkEvent/TrkParametersBase/TrkParametersBase/ParametersT.icc @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ /////////////////////////////////////////////////////////////////// @@ -217,6 +217,8 @@ namespace Trk m_chargeDef(std::move(rhs.m_chargeDef)) { rhs.m_covariance = nullptr; + // False positive: + // cppcheck-suppress useInitializationList rhs.m_surface = nullptr; }