Fix Clang-Tidy warnings (#4047)

This commit is contained in:
Niels Lohmann
2023-06-08 18:46:48 +02:00
committed by GitHub
parent a0c1318830
commit ab06fc9951
12 changed files with 24 additions and 22 deletions

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)
}
{