Disable false positives on "-Wstringop-overflow" and "-Warray-bounds" in release mode

This commit is contained in:
Ion Gaztañaga
2018-09-15 01:15:25 +02:00
parent c4a8cac5a1
commit 6504af8708
2 changed files with 18 additions and 8 deletions
+4 -4
View File
@@ -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 {