mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
90f8b69248
commit
dcec0389d1
|
@ -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>
|
2004-02-02 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
PR libstdc++/13976
|
PR libstdc++/13976
|
||||||
|
|
|
@ -82,7 +82,7 @@ namespace __gnu_cxx
|
||||||
|
|
||||||
// __p is not permitted to be a null pointer.
|
// __p is not permitted to be a null pointer.
|
||||||
void
|
void
|
||||||
deallocate(pointer __p, size_type __n)
|
deallocate(pointer __p, size_type)
|
||||||
{ free(static_cast<void*>(__p)); }
|
{ free(static_cast<void*>(__p)); }
|
||||||
|
|
||||||
size_type
|
size_type
|
||||||
|
|
|
@ -82,7 +82,7 @@ namespace __gnu_cxx
|
||||||
|
|
||||||
// __p is not permitted to be a null pointer.
|
// __p is not permitted to be a null pointer.
|
||||||
void
|
void
|
||||||
deallocate(pointer __p, size_type __n)
|
deallocate(pointer __p, size_type)
|
||||||
{ ::operator delete(__p); }
|
{ ::operator delete(__p); }
|
||||||
|
|
||||||
size_type
|
size_type
|
||||||
|
|
Loading…
Reference in New Issue