comment exit calls in densehashtable - refs #2547

This commit is contained in:
Dane Springmeyer 2014-10-27 09:03:05 -07:00
parent f34ac45b86
commit b860b58f0f

View file

@ -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;
}