forked from boostorg/regex
Added new concept check,
removed assertion in degug allocator that was being triggered by std lib code ! [SVN r18873]
This commit is contained in:
@ -157,8 +157,7 @@ public:
|
||||
|
||||
void deallocate(pointer p, size_type n)
|
||||
{
|
||||
assert( (p == 0) == (n == 0) );
|
||||
if (p != 0)
|
||||
if ((p != 0) && (n != 0))
|
||||
base_type::deallocate((void*)p, n * sizeof(value_type));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user