Skip to content
Snippets Groups Projects
Commit f65782f0 authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

TBRec: Fix gcc8 warnings.

gcc8 warnings: catching polymorphic exceptions via value.
parent aceb4108
No related branches found
No related tags found
No related merge requests found
...@@ -917,8 +917,8 @@ StatusCode TBTree_CaloClusterH6::getNoise(CaloCluster const * const cluster) { ...@@ -917,8 +917,8 @@ StatusCode TBTree_CaloClusterH6::getNoise(CaloCluster const * const cluster) {
try { try {
chid = m_larCablingSvc->createSignalChannelID(id); chid = m_larCablingSvc->createSignalChannelID(id);
} }
catch ( LArID_Exception except) { catch ( const LArID_Exception& except) {
ATH_MSG_ERROR("HWId not found: "<<(std::string)except); ATH_MSG_ERROR("HWId not found: "<<(const std::string&)except);
return StatusCode::FAILURE; return StatusCode::FAILURE;
} }
// Find the cell data in the DigitContainer // Find the cell data in the DigitContainer
......
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