forked from boostorg/container
Disable false positives on "-Wstringop-overflow" and "-Warray-bounds" in release mode
This commit is contained in:
@@ -180,14 +180,14 @@ class expand_bwd_test_allocator
|
||||
|
||||
//!Equality test for same type of expand_bwd_test_allocator
|
||||
template<class T> inline
|
||||
bool operator==(const expand_bwd_test_allocator<T> &alloc1,
|
||||
const expand_bwd_test_allocator<T> &alloc2)
|
||||
bool operator==(const expand_bwd_test_allocator<T> &,
|
||||
const expand_bwd_test_allocator<T> &)
|
||||
{ return false; }
|
||||
|
||||
//!Inequality test for same type of expand_bwd_test_allocator
|
||||
template<class T> inline
|
||||
bool operator!=(const expand_bwd_test_allocator<T> &alloc1,
|
||||
const expand_bwd_test_allocator<T> &alloc2)
|
||||
bool operator!=(const expand_bwd_test_allocator<T> &,
|
||||
const expand_bwd_test_allocator<T> &)
|
||||
{ return true; }
|
||||
|
||||
} //namespace test {
|
||||
|
||||
Reference in New Issue
Block a user