PR libstdc++/13976 (continued)

2004-02-02  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/13976 (continued)
	* include/ext/malloc_allocator.h (malloc_allocator::deallocate):
	Make the second parameter unnamed, to void unused parameter
	warnings.
	* include/ext/new_allocator.h (new_allocator::deallocate): Ditto.

From-SVN: r77113
This commit is contained in:
Paolo Carlini 2004-02-02 13:04:36 +00:00 committed by Paolo Carlini
parent 90f8b69248
commit dcec0389d1
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2004-02-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13976 (continued)
* include/ext/malloc_allocator.h (malloc_allocator::deallocate):
Make the second parameter unnamed, to void unused parameter
warnings.
* include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
2004-02-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13976

View File

@ -82,7 +82,7 @@ namespace __gnu_cxx
// __p is not permitted to be a null pointer.
void
deallocate(pointer __p, size_type __n)
deallocate(pointer __p, size_type)
{ free(static_cast<void*>(__p)); }
size_type

View File

@ -82,7 +82,7 @@ namespace __gnu_cxx
// __p is not permitted to be a null pointer.
void
deallocate(pointer __p, size_type __n)
deallocate(pointer __p, size_type)
{ ::operator delete(__p); }
size_type