From 453c8c24d7042babe3c4c60ebee4545eafaa1953 Mon Sep 17 00:00:00 2001 From: Alex Fishgait Date: Tue, 10 Oct 2023 11:36:23 +0200 Subject: [PATCH] single include changes --- single_include/nlohmann/json.hpp | 3 +++ tests/src/unit-allocator.cpp | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 7caa58635..5a3812841 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -6068,6 +6068,7 @@ NLOHMANN_JSON_NAMESPACE_END #include // char_traits, string #include // make_pair, move #include // vector +#include // #include @@ -6581,6 +6582,7 @@ NLOHMANN_JSON_NAMESPACE_END #include // string #include // move #include // vector +#include // #include @@ -7318,6 +7320,7 @@ NLOHMANN_JSON_NAMESPACE_END #include // char_traits, string #include // move #include // vector +#include // #include diff --git a/tests/src/unit-allocator.cpp b/tests/src/unit-allocator.cpp index e86609103..c22f343ff 100644 --- a/tests/src/unit-allocator.cpp +++ b/tests/src/unit-allocator.cpp @@ -283,7 +283,7 @@ struct NAlloc }; NAlloc() : - alloc(),m_alloc_size(0) + alloc(), m_alloc_size(0) { } @@ -292,7 +292,7 @@ struct NAlloc pointer allocate(std::size_t n) { - + return static_cast(alloc.allocate(n)); // get memory from pool } void deallocate(pointer p, std::size_t n) @@ -342,7 +342,7 @@ TEST_CASE("controlled bad_alloc_rt_string") SECTION("json_value(value_t)") { - + SECTION("string") { next_construct_fails = false;