🎨 use Clang-Format

This commit is contained in:
Niels Lohmann
2023-11-29 15:02:51 +01:00
parent 9cca280a4d
commit 311ad0b877
123 changed files with 17740 additions and 15765 deletions

View File

@@ -14,13 +14,12 @@ using nlohmann::json;
#include <sstream>
namespace
{
namespace {
struct alt_string_iter
{
alt_string_iter() = default;
alt_string_iter(const char* cstr)
: impl(cstr)
: impl(cstr)
{}
void reserve(std::size_t s)
@@ -62,7 +61,7 @@ struct alt_string_data
{
alt_string_data() = default;
alt_string_data(const char* cstr)
: impl(cstr)
: impl(cstr)
{}
void reserve(std::size_t s)
@@ -102,7 +101,7 @@ void check_escaped(const char* original, const char* escaped, const bool ensure_
s.dump_escaped(original, ensure_ascii);
CHECK(ss.str() == escaped);
}
} // namespace
} // namespace
TEST_CASE("convenience functions")
{