renamed chronIntIdResTable::add to chronIntIdResTable::idAssignAdd to avoid
hiding resTable::add in the public base class
This commit is contained in:
@@ -242,7 +242,7 @@ void dbContext::subscribe (
|
||||
dbSubscriptionIO ( guard, this->mutex, *this, chan,
|
||||
addr, notifyIn, type, count, mask, this->ctx );
|
||||
chan.dbContextPrivateListOfIO::eventq.add ( subscr );
|
||||
this->ioTable.add ( subscr );
|
||||
this->ioTable.idAssignAdd ( subscr );
|
||||
|
||||
if ( pId ) {
|
||||
*pId = subscr.getId ();
|
||||
@@ -260,7 +260,7 @@ void dbContext::initiatePutNotify (
|
||||
chan.dbContextPrivateListOfIO::pBlocker =
|
||||
new ( this->dbPutNotifyBlockerFreeList )
|
||||
dbPutNotifyBlocker ( this->mutex );
|
||||
this->ioTable.add ( *chan.dbContextPrivateListOfIO::pBlocker );
|
||||
this->ioTable.idAssignAdd ( *chan.dbContextPrivateListOfIO::pBlocker );
|
||||
}
|
||||
chan.dbContextPrivateListOfIO::pBlocker->initiatePutNotify (
|
||||
guard, notifyIn, addr, type, count, pValue );
|
||||
|
||||
@@ -229,7 +229,7 @@ class chronIntIdResTable : public resTable<ITEM, chronIntId> {
|
||||
public:
|
||||
chronIntIdResTable ();
|
||||
virtual ~chronIntIdResTable ();
|
||||
void add ( ITEM & item );
|
||||
void idAssignAdd ( ITEM & item );
|
||||
private:
|
||||
unsigned allocId;
|
||||
chronIntIdResTable ( const chronIntIdResTable & );
|
||||
@@ -961,7 +961,7 @@ chronIntIdResTable<ITEM>::~chronIntIdResTable() {}
|
||||
// resources with the same id.
|
||||
//
|
||||
template <class ITEM>
|
||||
inline void chronIntIdResTable<ITEM>::add (ITEM &item)
|
||||
inline void chronIntIdResTable<ITEM>::idAssignAdd (ITEM &item)
|
||||
{
|
||||
int status;
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user