HPUX: Delete void * operator new(size_t) methods

These were apparently needed by the HPUX compiler even though it
never actually executed them.  They are never used.
This commit is contained in:
Andrew Johnson
2012-04-12 11:28:23 -05:00
parent bb4d470145
commit cec6aee81b
37 changed files with 0 additions and 181 deletions
-7
View File
@@ -204,13 +204,6 @@ void * dbChannelIO::operator new ( size_t size,
return freeList.allocate ( size );
}
void * dbChannelIO::operator new ( size_t )
{
// 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" );
}
#ifdef CXX_PLACEMENT_DELETE
void dbChannelIO::operator delete ( void *pCadaver,
tsFreeList < dbChannelIO, 256, epicsMutexNOOP > & freeList )