Skip to content
Snippets Groups Projects
Commit 11d0f058 authored by scott snyder's avatar scott snyder
Browse files

InDetPhysValMonitoring: Fix gcc8 warning.

gcc8 warning: Catching polymorphic exception by value.



Former-commit-id: c4d04580
parent da71d737
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