Commit 2acb7096 by Jonathan Wakely Committed by Jonathan Wakely

* testsuite/util/testsuite_allocator.h (operator==): Fix recursion.

From-SVN: r217090
parent bf42f4fd
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
* include/parallel/numeric.h: Do not use default arguments in function * include/parallel/numeric.h: Do not use default arguments in function
template redeclarations (definitions). template redeclarations (definitions).
* testsuite/util/testsuite_allocator.h (operator==): Fix recursion.
2014-11-03 Paolo Carlini <paolo.carlini@oracle.com> 2014-11-03 Paolo Carlini <paolo.carlini@oracle.com>
* include/parallel/algo.h: Do not use default arguments in function * include/parallel/algo.h: Do not use default arguments in function
......
...@@ -209,7 +209,7 @@ namespace __gnu_test ...@@ -209,7 +209,7 @@ namespace __gnu_test
{ {
const Alloc1& alloc1 = lhs; const Alloc1& alloc1 = lhs;
const Alloc2& alloc2 = rhs; const Alloc2& alloc2 = rhs;
return lhs == rhs; return alloc1 == alloc2;
} }
template<class T1, class Alloc1, class T2, class Alloc2> template<class T1, class Alloc1, class T2, class Alloc2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment