do not write to stderr

This commit is contained in:
Szabolcs Horvát
2025-07-28 13:07:08 +08:00
committed by GitHub
parent dd4efaa4bf
commit d1927e117b

View File

@@ -935,7 +935,6 @@ class PooledAllocator
void* m = ::malloc(blocksize);
if (!m)
{
fprintf(stderr, "Failed to allocate memory.\n");
throw std::bad_alloc();
}