diff --git a/src/db/dbPutNotifyBlocker.cpp b/src/db/dbPutNotifyBlocker.cpp index d76b47faf..2e63d91e6 100644 --- a/src/db/dbPutNotifyBlocker.cpp +++ b/src/db/dbPutNotifyBlocker.cpp @@ -43,9 +43,10 @@ #include "dbChannelIO.h" #include "dbPutNotifyBlocker.h" -epicsSingleton < tsFreeList < dbPutNotifyBlocker, 1024 > > dbPutNotifyBlocker::pFreeList; +epicsSingleton < tsFreeList < dbPutNotifyBlocker, 1024 > > + dbPutNotifyBlocker::pFreeList; -dbPutNotifyBlocker::dbPutNotifyBlocker ( dbChannelIO &chanIn ) : +dbPutNotifyBlocker::dbPutNotifyBlocker () : pNotify ( 0 ), maxValueSize ( sizeof ( this->dbrScalarValue ) ) { memset ( & this->pn, '\0', sizeof ( this->pn ) ); diff --git a/src/db/dbPutNotifyBlocker.h b/src/db/dbPutNotifyBlocker.h index ee4a73776..dc897eef1 100644 --- a/src/db/dbPutNotifyBlocker.h +++ b/src/db/dbPutNotifyBlocker.h @@ -45,7 +45,7 @@ class dbPutNotifyBlocker : public dbBaseIO { public: - dbPutNotifyBlocker ( dbChannelIO & chanIn ); + dbPutNotifyBlocker (); void initiatePutNotify ( epicsGuard < epicsMutex > & locker, cacWriteNotify & notify, struct dbAddr & addr, unsigned type, unsigned long count, const void * pValue ); diff --git a/src/db/dbServiceIO.cpp b/src/db/dbServiceIO.cpp index 1aa5ac90a..c2c5d69d6 100644 --- a/src/db/dbServiceIO.cpp +++ b/src/db/dbServiceIO.cpp @@ -195,7 +195,7 @@ void dbServiceIO::initiatePutNotify ( { epicsGuard < epicsMutex > locker ( this->mutex ); if ( ! chan.dbServicePrivateListOfIO::pBlocker ) { - chan.dbServicePrivateListOfIO::pBlocker = new dbPutNotifyBlocker ( chan ); + chan.dbServicePrivateListOfIO::pBlocker = new dbPutNotifyBlocker (); this->ioTable.add ( *chan.dbServicePrivateListOfIO::pBlocker ); } chan.dbServicePrivateListOfIO::pBlocker->initiatePutNotify (