replace assert with SNMALLOC_ASSERT

This commit is contained in:
Amaury Chamayou
2020-03-04 16:57:44 +00:00
parent ef77bccfc2
commit acbcbce597
30 changed files with 128 additions and 106 deletions

View File

@@ -77,7 +77,7 @@ namespace histogram
else
{
auto i = get_index(value);
assert(i < BUCKETS);
SNMALLOC_ASSERT(i < BUCKETS);
count[i]++;
}
}