Skip to content
Snippets Groups Projects
Commit a81d03d1 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'clang10.InDetGlobalMonitoring-20200716' into 'master'

InDetGlobalMonitoring: Fix clang10 warnings.

See merge request atlas/athena!34833
parents 32e88b30 87a2c1da
No related branches found
No related tags found
No related merge requests found
/* /*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
/** @file InDetGlobalHitsMonTool.cxx /** @file InDetGlobalHitsMonTool.cxx
...@@ -277,8 +277,10 @@ StatusCode InDetGlobalHitsMonTool::fillHistograms() ...@@ -277,8 +277,10 @@ StatusCode InDetGlobalHitsMonTool::fillHistograms()
// Get track // Get track
const Trk::Track *track=(*itrack); const Trk::Track *track=(*itrack);
if (track == 0){ if (track == 0){
if ( msgLvl(MSG::WARNING) ) msg(MSG::WARNING) if ( msgLvl(MSG::WARNING) ) {
<< "no pointer to track!!!" << endmsg; break; msg(MSG::WARNING) << "no pointer to track!!!" << endmsg;
}
break;
} }
const Trk::Perigee *measPerigee = dynamic_cast<const Trk::Perigee *>(track->perigeeParameters()); const Trk::Perigee *measPerigee = dynamic_cast<const Trk::Perigee *>(track->perigeeParameters());
......
/* /*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
/** @file InDetGlobalNoiseOccupancyMonTool.cxx /** @file InDetGlobalNoiseOccupancyMonTool.cxx
...@@ -412,8 +412,10 @@ StatusCode InDetGlobalNoiseOccupancyMonTool::fillHistograms( ) ...@@ -412,8 +412,10 @@ StatusCode InDetGlobalNoiseOccupancyMonTool::fillHistograms( )
// Get track // Get track
const Trk::Track *track=(*itrack); const Trk::Track *track=(*itrack);
if (track == 0){ if (track == 0){
if ( msgLvl(MSG::WARNING) ) msg(MSG::WARNING) if ( msgLvl(MSG::WARNING) ) {
<< "no pointer to track!!!" << endmsg; break; msg(MSG::WARNING) << "no pointer to track!!!" << endmsg;
}
break;
} }
const DataVector<const Trk::TrackStateOnSurface>* const DataVector<const Trk::TrackStateOnSurface>*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment