bastring.cc (basic_string::Rep::operator delete): Don't claim to return from deallocate, since this is a void method.
* std/bastring.cc (basic_string::Rep::operator delete): Don't claim to return from deallocate, since this is a void method. From-SVN: r17297
This commit is contained in:
parent
1c72c7f64f
commit
b450b6999c
@ -1,3 +1,8 @@
|
||||
1998-01-05 Brendan Kehoe <brendan@lisa.cygnus.com>
|
||||
|
||||
* std/bastring.cc (basic_string::Rep::operator delete): Don't claim
|
||||
to return from deallocate, since this is a void method.
|
||||
|
||||
Sat Jan 3 12:15:41 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
|
||||
|
||||
* configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
|
||||
|
@ -40,9 +40,9 @@ template <class charT, class traits, class Allocator>
|
||||
inline void basic_string <charT, traits, Allocator>::Rep::
|
||||
operator delete (void * ptr)
|
||||
{
|
||||
return Allocator::deallocate(ptr, sizeof(Rep) +
|
||||
reinterpret_cast<Rep *>(ptr)->res *
|
||||
sizeof (charT));
|
||||
Allocator::deallocate(ptr, sizeof(Rep) +
|
||||
reinterpret_cast<Rep *>(ptr)->res *
|
||||
sizeof (charT));
|
||||
}
|
||||
|
||||
template <class charT, class traits, class Allocator>
|
||||
|
Loading…
Reference in New Issue
Block a user