bitmap_allocator.h: Qualify ::operator delete.
authorPaolo Carlini <pcarlini@suse.de>
Fri, 15 Oct 2004 10:54:57 +0000 (10:54 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 15 Oct 2004 10:54:57 +0000 (10:54 +0000)
commit0d6b41f2ddb7d0fc04a43f505598ba94a55fa4ee
tree73e97e39264f0d50f4b69d5007c1a70b6717fd2b
parent31246b8f0d515137f28162a8e856b5b9faff6339
bitmap_allocator.h: Qualify ::operator delete.

2004-10-15  Paolo Carlini  <pcarlini@suse.de>

* include/ext/bitmap_allocator.h: Qualify ::operator delete.
* src/bitmap_allocator.cc: Likewise.
* src/mt_allocator.cc: Use ::operator delete, not delete,
consistently with ::operator new.

* include/ext/bitmap_allocator.h (deallocate): Check for null
pointer.
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
* testsuite/testsuite_allocator.h (check_deallocate_null): Add test.

From-SVN: r89089
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/bitmap_allocator.h
libstdc++-v3/src/bitmap_allocator.cc
libstdc++-v3/src/mt_allocator.cc
libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc [new file with mode: 0644]
libstdc++-v3/testsuite/testsuite_allocator.h