Skip to content

Commit

Permalink
make clang-tidy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Huth committed Aug 29, 2024
1 parent a64a2a5 commit e16a725
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Acts {

class ITkIdentifier {
Acts::MultiIndex<std::size_t, 1, 2, 20, 20, 20, 1> m_identifier;
Acts::MultiIndex<std::size_t, 1, 2, 20, 20, 20, 1> m_identifier{};

public:
ITkIdentifier(int hardware, int barrelEndcap, int layerWheel, int etaModule,
Expand Down Expand Up @@ -53,7 +53,8 @@ class GeoModelDetectorElementITk : public GeoModelDetectorElement {
ActsScalar thickness, int hardware,
int barrelEndcap, int layerWheel, int etaModule,
int phiModule, int side)
: GeoModelDetectorElement(geoPhysVol, surface, sfTransform, thickness),
: GeoModelDetectorElement(geoPhysVol, std::move(surface), sfTransform,
thickness),
m_identifier(hardware, barrelEndcap, layerWheel, etaModule, phiModule,
side) {}

Expand Down

0 comments on commit e16a725

Please sign in to comment.