optimized string out

This commit is contained in:
Jeff Hill
2003-04-16 20:34:51 +00:00
parent b9148e0224
commit 2779547dcb

View File

@@ -330,7 +330,7 @@ inline unsigned comBuf::push ( const epicsOldString * pValue, unsigned nElem )
nBytes = nElem * sizeof ( *pValue );
}
memcpy ( &this->buf[ index ], pValue, nBytes );
this->nextWriteIndex += nBytes;
this->nextWriteIndex = index + nBytes;
return nElem;
}