💚 fix Clang-Tidy warnings

This commit is contained in:
Niels Lohmann 2023-06-06 20:30:56 +02:00
parent 682998faf6
commit 65589f9941
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -119,13 +119,13 @@ TEST_CASE("README" * doctest::skip())
// serialization with pretty printing
// pass in the amount of spaces to indent
std::cout << j.dump(4) << std::endl;
std::cout << j.dump(4) << std::endl; // NOLINT(performance-avoid-endl)
// {
// "happy": true,
// "pi": 3.141
// }
std::cout << std::setw(2) << j << std::endl;
std::cout << std::setw(2) << j << std::endl; // NOLINT(performance-avoid-endl)
}
{