Skip to content

Commit

Permalink
sonarcloud issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Oct 30, 2024
1 parent a031487 commit b9216d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Core/include/Acts/Seeding/SeedFilter.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ template <typename external_spacepoint_t>
SeedFilter<external_spacepoint_t>::SeedFilter(
SeedFilterConfig config,
IExperimentCuts<external_spacepoint_t>* expCuts /* = 0*/)
: m_cfg(config), m_experimentCuts(expCuts) {
: m_cfg(std::move(config)), m_experimentCuts(expCuts) {
if (!config.isInInternalUnits) {
throw std::runtime_error(
"SeedFilterConfig not in ACTS internal units in SeedFilter");
Expand All @@ -29,7 +29,9 @@ template <typename external_spacepoint_t>
SeedFilter<external_spacepoint_t>::SeedFilter(
SeedFilterConfig config, std::unique_ptr<const Acts::Logger> logger,
IExperimentCuts<external_spacepoint_t>* expCuts /* = 0*/)
: m_cfg(config), m_logger(std::move(logger)), m_experimentCuts(expCuts) {
: m_cfg(std::move(config)),
m_logger(std::move(logger)),
m_experimentCuts(expCuts) {
if (!config.isInInternalUnits) {
throw std::runtime_error(
"SeedFilterConfig not in ACTS internal units in SeedFilter");
Expand Down

0 comments on commit b9216d2

Please sign in to comment.