🚨 fix warning

This commit is contained in:
Niels Lohmann 2021-10-17 15:19:59 +02:00
parent d8d4a505ad
commit 380c39c91e
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -40,7 +40,7 @@ TEST_CASE("tests on very large JSONs")
{
const auto depth = 5000000;
std::string s(2 * depth, '[');
std::string s(static_cast<std::size_t>(2 * depth), '[');
std::fill(s.begin() + depth, s.end(), ']');
json _;