Commit dcec0389 by Paolo Carlini Committed by Paolo Carlini

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
parent 90f8b692
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
* include/ext/malloc_allocator.h (malloc_allocator::allocate):
Make the second parameter unnamed, to void unused parameter
......
......@@ -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
......
......@@ -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
......
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