renamed chronIntIdResTable::add to chronIntIdResTable::idAssignAdd to avoid

hiding resTable::add in the public base class
This commit is contained in:
Jeff Hill
2004-04-28 22:15:06 +00:00
parent 563733cf3c
commit cab998f40d
2 changed files with 4 additions and 4 deletions

View File

@@ -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 );

View File

@@ -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 {