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

Merge branch 'gcc8.InDetPhysValMonitoring-20181004' into 'master'

InDetPhysValMonitoring: Fix gcc8 warning.

See merge request atlas/athena!14728

Former-commit-id: fb9198f2
parents efbca5d5 11d0f058
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ InDetPhysValTruthDecoratorAlg::decorateTruth(const xAOD::TruthParticle& particle ...@@ -129,7 +129,7 @@ InDetPhysValTruthDecoratorAlg::decorateTruth(const xAOD::TruthParticle& particle
const xAOD::TruthVertex* ptruthVertex(0); const xAOD::TruthVertex* ptruthVertex(0);
try{ try{
ptruthVertex = particle.prodVtx(); ptruthVertex = particle.prodVtx();
} catch (std::exception e) { } catch (const std::exception& e) {
if (not errorEmitted) { if (not errorEmitted) {
ATH_MSG_WARNING("A non existent production vertex was requested in calculating the track parameters d0 etc"); ATH_MSG_WARNING("A non existent production vertex was requested in calculating the track parameters d0 etc");
} }
......
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