forked from boostorg/container
Disable false positives on "-Wstringop-overflow" and "-Warray-bounds" in release mode
This commit is contained in:
1 parent
c4a8cac5a1
commit
6504af8708
2 files changed
+18
-8
No files matched your search
@@ -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