Skip to content
Snippets Groups Projects
Commit 752e2c91 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'gcc11.MuonRegionSelector-20201210' into 'master'

MuonRegionSelector: Fix gcc 11 compilation warning.

See merge request atlas/athena!39054
parents 41a84de6 1e1c605b
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,11 @@ StatusCode MuonRegSelCondAlg::execute(const EventContext& ctx ) const ...@@ -77,7 +77,11 @@ StatusCode MuonRegSelCondAlg::execute(const EventContext& ctx ) const
// write out new new LUT to a file if need be // write out new new LUT to a file if need be
if ( m_printTable ) dynamic_cast<const RegSelSiLUT*>(rd.get())->write( name()+".map" ); if ( m_printTable ) {
if (auto lut = dynamic_cast<const RegSelSiLUT*>(rd.get())) {
lut->write( name()+".map" );
}
}
/// create the conditions data for storage /// create the conditions data for storage
......
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