mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix condition and make normal assert
This commit is contained in:
parent
04ac31d075
commit
c25588e030
@ -288,7 +288,7 @@ namespace mongo {
|
||||
*/
|
||||
template< class V >
|
||||
inline int BucketBasics<V>::_alloc(int bytes) {
|
||||
dassert( this->emptySize > bytes );
|
||||
assert( this->emptySize >= bytes );
|
||||
this->topSize += bytes;
|
||||
this->emptySize -= bytes;
|
||||
int ofs = totalDataSize() - this->topSize;
|
||||
|
Loading…
Reference in New Issue
Block a user