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:
Jonathan Wakely 2003-11-08 00:36:13 +00:00
parent 4eedccc489
commit 3ab3dca624
2 changed files with 8 additions and 9 deletions

View File

@ -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

View File

@ -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];