mirror of
https://github.com/nlohmann/json.git
synced 2026-08-25 02:23:19 +00:00
🔨 small cleanup
This commit is contained in:
@@ -125,7 +125,7 @@ pedantic_clang:
|
|||||||
|
|
||||||
# calling GCC with most warnings
|
# calling GCC with most warnings
|
||||||
pedantic_gcc:
|
pedantic_gcc:
|
||||||
$(MAKE) json_unit CXX=$(COMPILER_DIR)/g++ CXXFLAGS="-D_Atomic=volatile \
|
$(MAKE) json_unit CXX=$(COMPILER_DIR)/g++ CXXFLAGS=" \
|
||||||
-std=c++11 \
|
-std=c++11 \
|
||||||
-Waddress \
|
-Waddress \
|
||||||
-Waddress-of-packed-member \
|
-Waddress-of-packed-member \
|
||||||
|
|||||||
@@ -69,9 +69,9 @@ TEST_CASE("bad_alloc")
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
static bool next_construct_fails = false;
|
bool next_construct_fails = false;
|
||||||
static bool next_destroy_fails = false;
|
bool next_destroy_fails = false;
|
||||||
static bool next_deallocate_fails = false;
|
bool next_deallocate_fails = false;
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
struct my_allocator : std::allocator<T>
|
struct my_allocator : std::allocator<T>
|
||||||
|
|||||||
Reference in New Issue
Block a user