dont allow ordinary delete

This commit is contained in:
Jeff Hill
2002-10-23 23:23:56 +00:00
parent 6026533aeb
commit 4cd67a4e27
2 changed files with 11 additions and 0 deletions

View File

@@ -80,5 +80,11 @@ nciu & netReadNotifyIO::channel () const
return this->chan;
}
void netReadNotifyIO::operator delete ( void * p )
{
throw std::logic_error
( "compiler is confused about placement delete" );
}

View File

@@ -93,6 +93,11 @@ nciu & netSubscription::channel () const
return this->chan;
}
void netSubscription::operator delete ( void * p )
{
throw std::logic_error
( "compiler is confused about placement delete" );
}