Fix Clang-Tidy warnings (#4047)

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

No files matched your search

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