提交 7de1d678 编写于 作者: J jmasa

8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk()

Reviewed-by: johnc, tamao
上级 ccabe237
...@@ -259,7 +259,7 @@ class BinaryTreeDictionary: public FreeBlockDictionary<Chunk_t> { ...@@ -259,7 +259,7 @@ class BinaryTreeDictionary: public FreeBlockDictionary<Chunk_t> {
assert(res == NULL || res->is_free(), assert(res == NULL || res->is_free(),
"Should be returning a free chunk"); "Should be returning a free chunk");
assert(dither != FreeBlockDictionary<Chunk_t>::exactly || assert(dither != FreeBlockDictionary<Chunk_t>::exactly ||
res->size() == size, "Not correct size"); res == NULL || res->size() == size, "Not correct size");
return res; return res;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册