Skip to content
Snippets Groups Projects
Commit 6079e75d authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'ptrmove' into 'main'

StripLayer: Optimize shared_ptr move

See merge request !68445
parents a26e62dd 60bd5bd6
No related branches found
No related tags found
1 merge request!68445StripLayer: Optimize shared_ptr move
......@@ -9,7 +9,7 @@ namespace MuonGMR4{
class StripLayer {
public:
StripLayer(const Amg::Transform3D& layerTransform,
const StripDesignPtr design,
StripDesignPtr design,
const IdentifierHash hash);
/// Returns the transformation to go from the strip layer center
......
......@@ -10,10 +10,10 @@ namespace MuonGMR4{
return ostr;
}
StripLayer::StripLayer(const Amg::Transform3D& layerTransform,
const StripDesignPtr design,
StripDesignPtr design,
const IdentifierHash hash):
m_transform{layerTransform},
m_design{design},
m_design{std::move(design)},
m_hash{hash} {
}
......
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