From: Chris Jefferson Date: Wed, 28 Dec 2005 11:47:56 +0000 (+0000) Subject: testsuite_allocator.h (check_deallocate_null): Return true. X-Git-Tag: releases/gcc-4.2.0~5136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001a2a47e2f412e3fce740bd069f70edc3802300;p=thirdparty%2Fgcc.git testsuite_allocator.h (check_deallocate_null): Return true. 2005-12-28 Chris Jefferson * testsuite/testsuite_allocator.h (check_deallocate_null): Return true. From-SVN: r109104 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b5a754bd7039..7b5e58c31a30 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2005-12-28 Chris Jefferson + + * testsuite/testsuite_allocator.h (check_deallocate_null): Return true. + 2005-12-28 Paolo Carlini * include/std/std_bitset.h (bitset<>::_M_copy_from_string, diff --git a/libstdc++-v3/testsuite/testsuite_allocator.h b/libstdc++-v3/testsuite/testsuite_allocator.h index 3beb29d32b4a..170c4db45c9c 100644 --- a/libstdc++-v3/testsuite/testsuite_allocator.h +++ b/libstdc++-v3/testsuite/testsuite_allocator.h @@ -201,13 +201,14 @@ namespace __gnu_test } template - void + bool check_deallocate_null() { // Let's not core here... Alloc a; a.deallocate(NULL, 1); a.deallocate(NULL, 10); + return true; } template