From 3949f1c4ccc9aadfcb29c799a34c21f199da251d Mon Sep 17 00:00:00 2001 From: Ruggero Turra Date: Wed, 8 Nov 2023 19:17:02 +0100 Subject: [PATCH] remove std::move --- test/accumulators_collector_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/accumulators_collector_test.cpp b/test/accumulators_collector_test.cpp index 4bd4e288..cd96c1b3 100644 --- a/test/accumulators_collector_test.cpp +++ b/test/accumulators_collector_test.cpp @@ -53,7 +53,7 @@ int main() { { accumulators::collector> acc_from_vector( - std::move(std::vector{10, 20, 30})); + std::vector{10, 20, 30}); BOOST_TEST_EQ(acc_from_vector.count(), 3); acc_from_vector(40); BOOST_TEST_EQ(acc_from_vector.count(), 4);