diff --git a/src/ca/netReadNotifyIO.cpp b/src/ca/netReadNotifyIO.cpp index 1bdcd9fe4..edf9e74c9 100644 --- a/src/ca/netReadNotifyIO.cpp +++ b/src/ca/netReadNotifyIO.cpp @@ -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" ); +} + diff --git a/src/ca/netSubscription.cpp b/src/ca/netSubscription.cpp index c9dbc27a4..1e78864a6 100644 --- a/src/ca/netSubscription.cpp +++ b/src/ca/netSubscription.cpp @@ -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" ); +}