From bb625c7f2546f8f9362d6600f3d63b8e19f954cc Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 11 Jan 2007 21:38:59 +0000 Subject: [PATCH] flushBlockThreshold no longer takes a message size argument --- src/ca/comQueSend.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca/comQueSend.h b/src/ca/comQueSend.h index 95cdf0026..721a19b7f 100644 --- a/src/ca/comQueSend.h +++ b/src/ca/comQueSend.h @@ -58,7 +58,7 @@ public: void clear (); unsigned occupiedBytes () const; bool flushEarlyThreshold ( unsigned nBytesThisMsg ) const; - bool flushBlockThreshold ( unsigned nBytesThisMsg ) const; + bool flushBlockThreshold () const; void pushUInt16 ( const ca_uint16_t value ); void pushUInt32 ( const ca_uint32_t value ); void pushFloat32 ( const ca_float32_t value ); @@ -215,9 +215,9 @@ inline unsigned comQueSend::occupiedBytes () const return this->nBytesPending; } -inline bool comQueSend::flushBlockThreshold ( unsigned nBytesThisMsg ) const +inline bool comQueSend::flushBlockThreshold () const { - return ( this->nBytesPending + nBytesThisMsg > 16 * comBuf::capacityBytes () ); + return ( this->nBytesPending > 16 * comBuf::capacityBytes () ); } inline bool comQueSend::flushEarlyThreshold ( unsigned nBytesThisMsg ) const