Skip to content

Commit

Permalink
fix label copies for deepsource
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Mar 8, 2025
1 parent 80edb3f commit ac512ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/boost/multi/adaptors/fftw/test/combinations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class watch : private std::chrono::high_resolution_clock { // NOSONAR(cpp:S4963
time_point start_ = now();

public:
explicit watch(std::string label) : label_{std::move(label)} {}
explicit watch(std::string const& label) : label_{label} {}

watch(watch const&) = delete;
watch(watch&&) = delete;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class watch : private std::chrono::high_resolution_clock { // NOSONAR(cpp:S4963
time_point start_ = now();

public:
explicit watch(std::string label) : label_{ std::move(label) } {}
explicit watch(std::string const& label) : label_{label} {}

watch(watch const&) = delete;
watch(watch&&) = delete;
Expand Down

0 comments on commit ac512ee

Please sign in to comment.