🔨 small cleanup
This commit is contained in:
parent
63fe1cbbcf
commit
e65cff2a8f
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue