comment exit calls in densehashtable - refs #2547
This commit is contained in:
parent
f34ac45b86
commit
b860b58f0f
1 changed files with 2 additions and 2 deletions
|
@ -1175,7 +1175,7 @@ class dense_hashtable {
|
|||
pointer realloc_or_die(pointer /*ptr*/, size_type /*n*/) {
|
||||
fprintf(stderr, "realloc_or_die is only supported for "
|
||||
"libc_allocator_with_realloc\n");
|
||||
exit(1);
|
||||
//exit(1);
|
||||
return NULL;
|
||||
}
|
||||
};
|
||||
|
@ -1197,7 +1197,7 @@ class dense_hashtable {
|
|||
if (retval == NULL) {
|
||||
fprintf(stderr, "sparsehash: FATAL ERROR: failed to reallocate "
|
||||
"%lu elements for ptr %p", static_cast<unsigned long>(n), ptr);
|
||||
exit(1);
|
||||
//exit(1);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue