🔀 rename variable to avoid shadowing
This commit is contained in:
parent
230dcfb7a3
commit
8159091d8f
1 changed files with 2 additions and 2 deletions
|
@ -278,8 +278,8 @@ TEST_CASE("value conversion")
|
||||||
SECTION("reserve is called on containers that supports it")
|
SECTION("reserve is called on containers that supports it")
|
||||||
{
|
{
|
||||||
// make sure all values are properly copied
|
// make sure all values are properly copied
|
||||||
json j({1, 2, 3, 4, 5, 6, 7, 8, 9, 10});
|
json j2({1, 2, 3, 4, 5, 6, 7, 8, 9, 10});
|
||||||
auto v2 = j.get<std::vector<int>>();
|
auto v2 = j2.get<std::vector<int>>();
|
||||||
CHECK(v2.size() == 10);
|
CHECK(v2.size() == 10);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue