mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-03 11:09:15 +08:00
Update test_circular_q.cpp
This commit is contained in:
parent
4bb1c9589b
commit
fd91561734
@ -26,7 +26,7 @@ TEST_CASE("test_rolling", "[circular_q]")
|
|||||||
|
|
||||||
for (size_t i = 0; i < q_size + 2; i++)
|
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);
|
REQUIRE(q.size() == q_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user