Fixed bogus undefined symbols with hpux aCC compiler.

This commit is contained in:
Ralph Lange
2002-11-12 10:47:05 +00:00
parent b562b9557f
commit f301c33faf
3 changed files with 21 additions and 0 deletions

View File

@@ -74,6 +74,13 @@ void dbSubscriptionIO::channelDeleteException ()
this->chan.pName(), this->type, this->count );
}
void * dbSubscriptionIO::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 dbSubscriptionIO::operator delete ( void * )
{
// Visual C++ .net appears to require operator delete if