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
3 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue