mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
vec.cc: Conform to C++STYLE.
2003-11-07 Jonathan Wakely <redi@gcc.gnu.org> * libsupc++/vec.cc: Conform to C++STYLE. From-SVN: r73350
This commit is contained in:
parent
4eedccc489
commit
3ab3dca624
@ -1,3 +1,7 @@
|
||||
2003-11-07 Jonathan Wakely <redi@gcc.gnu.org>
|
||||
|
||||
* libsupc++/vec.cc: Conform to C++STYLE.
|
||||
|
||||
2003-11-07 Carlo Wood <carlo@alinoe.com>
|
||||
|
||||
PR libstdc++/12736
|
||||
|
@ -282,12 +282,10 @@ namespace __cxxabiv1
|
||||
void (*destructor) (void *),
|
||||
void (*dealloc) (void *))
|
||||
{
|
||||
char *base;
|
||||
|
||||
if (!array_address)
|
||||
return;
|
||||
|
||||
base = static_cast<char *>(array_address);
|
||||
char* base = static_cast<char *>(array_address);
|
||||
|
||||
if (padding_size)
|
||||
{
|
||||
@ -317,15 +315,12 @@ namespace __cxxabiv1
|
||||
void (*destructor) (void *),
|
||||
void (*dealloc) (void *, std::size_t))
|
||||
{
|
||||
char *base;
|
||||
std::size_t size;
|
||||
|
||||
if (!array_address)
|
||||
return;
|
||||
|
||||
base = static_cast <char *> (array_address);
|
||||
size = 0;
|
||||
|
||||
char* base = static_cast <char *> (array_address);
|
||||
std::size_t size = 0;
|
||||
|
||||
if (padding_size)
|
||||
{
|
||||
std::size_t element_count = reinterpret_cast<std::size_t *> (base)[-1];
|
||||
|
Loading…
Reference in New Issue
Block a user