Suppressed HPUX warnings.

This commit is contained in:
Ralph Lange
2002-11-07 17:39:19 +00:00
parent d7fe8efef6
commit 98a88d9d74
2 changed files with 4 additions and 4 deletions

View File

@@ -92,14 +92,14 @@ void syncGroupReadNotify::show ( unsigned level ) const
}
}
void * syncGroupReadNotify::operator new ( size_t )
void * syncGroupReadNotify::operator new ( size_t ) // X aCC 361
{
// The HPUX compiler seems to require this even though no code
// calls it directly
throw std::logic_error ( "why is the compiler calling private operator new" );
}
void syncGroupReadNotify::operator delete ( void * p )
void syncGroupReadNotify::operator delete ( void * )
{
// Visual C++ .net appears to require operator delete if
// placement operator delete is defined? I smell a ms rat

View File

@@ -86,14 +86,14 @@ void syncGroupWriteNotify::show ( unsigned level ) const
}
}
void * syncGroupWriteNotify::operator new ( size_t )
void * syncGroupWriteNotify::operator new ( size_t ) // X aCC 361
{
// The HPUX compiler seems to require this even though no code
// calls it directly
throw std::logic_error ( "why is the compiler calling private operator new" );
}
void syncGroupWriteNotify::operator delete ( void * p )
void syncGroupWriteNotify::operator delete ( void * )
{
// Visual C++ .net appears to require operator delete if
// placement operator delete is defined? I smell a ms rat