Skip to content

MuonReadoutGeometryR4: fix use after move cppcheck defect

Frank Winklmeier requested to merge fwinkl/athena:muongeor4 into main

The defineArgs parameter of the various muon ReadoutElement classes was being moved from twice in their constructor. This leaves the object in an unspecified state. Instead make a (partial) copy for the base-class initialization and move the parameter for the concrete case.

cc @ssnyder @jojungge

Merge request reports

Loading