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:
@@ -221,13 +221,6 @@ void timer::show ( unsigned int level ) const
|
||||
}
|
||||
}
|
||||
|
||||
void * timer::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" );
|
||||
}
|
||||
|
||||
void timer::operator delete ( void * )
|
||||
{
|
||||
// Visual C++ .net appears to require operator delete if
|
||||
@@ -239,13 +232,6 @@ void timer::operator delete ( void * )
|
||||
__FILE__, __LINE__ );
|
||||
}
|
||||
|
||||
void * epicsTimerForC::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" );
|
||||
}
|
||||
|
||||
void epicsTimerForC::operator delete ( void * )
|
||||
{
|
||||
// Visual C++ .net appears to require operator delete if
|
||||
|
||||
Reference in New Issue
Block a user