moved inline def

This commit is contained in:
Jeff Hill
2000-11-08 04:41:50 +00:00
parent 2c26c663cb
commit 1f27a82828
2 changed files with 27 additions and 27 deletions

View File

@@ -63,33 +63,6 @@
tsFreeList < class comBuf, 0x20 > comBuf::freeList;
inline bufferReservoir::~bufferReservoir ()
{
this->drain ();
}
inline comBuf *bufferReservoir::fetchOneBuffer ()
{
return this->reservedBufs.get ();
}
inline bool bufferReservoir::addOneBuffer ()
{
comBuf *pBuf = new comBuf;
if ( pBuf ) {
this->reservedBufs.add ( *pBuf );
return true;
}
else {
return false;
}
}
inline unsigned bufferReservoir::nBytes ()
{
return ( this->reservedBufs.count () * comBuf::maxBytes () );
}
comQueSend::comQueSend ( wireSendAdapter & wireIn ) :
wire ( wireIn ), nBytesPending ( 0u )
{