Skip to content

Commit

Permalink
remove std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
wiso committed Nov 8, 2023
1 parent 71fcde1 commit 3949f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/accumulators_collector_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int main() {

{
accumulators::collector<int, std::vector<int>> acc_from_vector(
std::move(std::vector<int>{10, 20, 30}));
std::vector<int>{10, 20, 30});
BOOST_TEST_EQ(acc_from_vector.count(), 3);
acc_from_vector(40);
BOOST_TEST_EQ(acc_from_vector.count(), 4);
Expand Down

0 comments on commit 3949f1c

Please sign in to comment.