Update test_circular_q.cpp

This commit is contained in:
Gabi Melman 2023-09-16 02:17:06 +03:00 committed by gabime
parent 4bb1c9589b
commit fd91561734

View File

@ -26,7 +26,7 @@ TEST_CASE("test_rolling", "[circular_q]")
for (size_t i = 0; i < q_size + 2; i++)
{
q.push_back(size_t{i}); // arg to push_back must be r value
q.push_back(std::move(i)); // arg to push_back must be r value
}
REQUIRE(q.size() == q_size);