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
Activity
Filter activity
added MuonSpectrometer master review-pending-level-1 labels
Hi @christos, thanks for the fix, and sorry that I missed this in !29167 (merged). Best, Nico
CI Result SUCCESS (hash c4405945) Athena AthSimulation externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 7667] added review-approved label and removed review-pending-level-1 label
mentioned in commit 0a720fb2
added sweep:ignore label
Please register or sign in to reply