Skip to content
Snippets Groups Projects
Commit 96d4aed1 authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Merge branch 'gcc8.Valkyrie-20181002' into 'master'

Valkyrie: Fix gcc8 warnings.

See merge request atlas/athena!14649
parents 75c9ca28 1ef16388
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ StatusCode ValgrindAuditor::initialize() ...@@ -92,7 +92,7 @@ StatusCode ValgrindAuditor::initialize()
try { try {
m_algsRegEx.push_back( boost::regex(re) ); m_algsRegEx.push_back( boost::regex(re) );
} }
catch ( boost::regex_error ) { catch ( const boost::regex_error& ) {
msgStream() << MSG::ERROR << "Ignoring invalid regular expression: " << re << endmsg; msgStream() << MSG::ERROR << "Ignoring invalid regular expression: " << re << endmsg;
} }
} }
...@@ -276,7 +276,7 @@ namespace { ...@@ -276,7 +276,7 @@ namespace {
try { try {
nameEvt.first = boost::regex(s.substr(0,loc)); nameEvt.first = boost::regex(s.substr(0,loc));
} }
catch ( boost::regex_error ) { catch ( const boost::regex_error& ) {
return StatusCode::FAILURE; return StatusCode::FAILURE;
} }
......
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