mirror of
https://github.com/nlohmann/json.git
synced 2026-02-27 22:06:25 +00:00
Fix Clang-Tidy warnings (#4047)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user