1
0
mirror of https://github.com/nlohmann/json synced 2024-11-09 22:20:05 +00:00

🔨 small cleanup

This commit is contained in:
Niels Lohmann 2019-04-05 23:31:04 +02:00
parent 63fe1cbbcf
commit e65cff2a8f
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 4 deletions

View File

@ -125,7 +125,7 @@ pedantic_clang:
# calling GCC with most warnings
pedantic_gcc:
$(MAKE) json_unit CXX=$(COMPILER_DIR)/g++ CXXFLAGS="-D_Atomic=volatile \
$(MAKE) json_unit CXX=$(COMPILER_DIR)/g++ CXXFLAGS=" \
-std=c++11 \
-Waddress \
-Waddress-of-packed-member \

View File

@ -69,9 +69,9 @@ TEST_CASE("bad_alloc")
namespace
{
static bool next_construct_fails = false;
static bool next_destroy_fails = false;
static bool next_deallocate_fails = false;
bool next_construct_fails = false;
bool next_destroy_fails = false;
bool next_deallocate_fails = false;
template<class T>
struct my_allocator : std::allocator<T>