From: Jonathan Wakely Date: Tue, 4 Nov 2014 16:54:49 +0000 (+0000) Subject: * testsuite/util/testsuite_allocator.h (operator==): Fix recursion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2acb70965451b3859a0ef1232fd35501e217fd09;p=gcc.git * testsuite/util/testsuite_allocator.h (operator==): Fix recursion. From-SVN: r217090 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8cb7675f6a5..e11a9a752e3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -23,6 +23,8 @@ * include/parallel/numeric.h: Do not use default arguments in function template redeclarations (definitions). + * testsuite/util/testsuite_allocator.h (operator==): Fix recursion. + 2014-11-03 Paolo Carlini * include/parallel/algo.h: Do not use default arguments in function diff --git a/libstdc++-v3/testsuite/util/testsuite_allocator.h b/libstdc++-v3/testsuite/util/testsuite_allocator.h index 8edc0a5ad78..dec8d1a965d 100644 --- a/libstdc++-v3/testsuite/util/testsuite_allocator.h +++ b/libstdc++-v3/testsuite/util/testsuite_allocator.h @@ -209,7 +209,7 @@ namespace __gnu_test { const Alloc1& alloc1 = lhs; const Alloc2& alloc2 = rhs; - return lhs == rhs; + return alloc1 == alloc2; } template