Skip to content

Fix Debug build , breaking due to MR 29167

Recent changes in !29167 (merged)

break the debug builds

build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx: In member function 'void MuonGM::MuonStation::addMuonReadoutElementWithAlTransf(const MuonGM::MuonReadoutElement*, GeoAlignableTransform*, int)':
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:297:25: error: redeclaration of 'MsgStream log'
   MsgStream log(Athena::getMessageSvc(),"MuonStation");
                         ^~~~~~~~~~~~~
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:289:13: note: 'MsgStream log' previously declared here
   MsgStream log(Athena::getMessageSvc(),"MuonStation");
             ^~~
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx: In member function 'void MuonGM::MuonStation::setDelta_fromAline_forComp(int, double, double, double, double, double, double)':
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:345:25: error: redeclaration of 'MsgStream log'
   MsgStream log(Athena::getMessageSvc(),"MuonStation");
                         ^~~~~~~~~~~~~
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:310:13: note: 'MsgStream log' previously declared here
   MsgStream log(Athena::getMessageSvc(),"MuonStation");
             ^~~
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:353:25: error: redeclaration of 'MsgStream log'
   MsgStream log(Athena::getMessageSvc(),"MuonStation");
                         ^~~~~~~~~~~~~
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:310:13: note: 'MsgStream log' previously declared here
   MsgStream log(Athena::getMessageSvc(),"MuonStation");
             ^~~
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:362:25: error: redeclaration of 'MsgStream log'
   MsgStream log(Athena::getMessageSvc(),"MuonStation");
                         ^~~~~~~~~~~~~
/build/atnight/localbuilds/nightlies/master/athena/MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/src/MuonStation.cxx:310:13: note: 'MsgStream log' previously declared here
   MsgStream log(Athena::getMessageSvc(),"MuonStation");

Mentioning @ssnyder and @nkoehler .

This is a minimal fix for the above redeclaration errors.

Merge request reports