dmitryh 2004/07/21 11:01:12
Modified: c/src/xalanc/PlatformSupport ReusableArenaBlock.hpp
Log:
Fix for Bugzilla #29983
Created by : June Ng
Reviewed: Dmitry Hayes
Revision Changes Path
1.7 +2 -2
xml-xalan/c/src/xalanc/PlatformSupport/ReusableArenaBlock.hpp
Index: ReusableArenaBlock.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/ReusableArenaBlock.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ReusableArenaBlock.hpp 12 Jul 2004 14:53:55 -0000 1.6
+++ ReusableArenaBlock.hpp 21 Jul 2004 18:01:12 -0000 1.7
@@ -123,7 +123,7 @@
if ( this->m_objectCount == this->m_blockSize )
{
- assert ( this->m_firstFreeBlock == (m_blockSize + 1) );
+ assert ( this->m_firstFreeBlock == (this->m_blockSize +
1) );
return 0;
}
@@ -151,7 +151,7 @@
this->m_nextFreeBlock =
(reinterpret_cast<NextBlock*>(theResult))->next;
assert ( (
reinterpret_cast<NextBlock*>(theResult ))->isValidFor( this->m_blockSize ) );
- assert ( this->m_nextFreeBlock <= m_blockSize );
+ assert ( this->m_nextFreeBlock <=
this->m_blockSize );
++this->m_objectCount;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]