Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.x] catch the DataBuffer allocation failure
Using std::nothrow in a header risks breaking when included from a project that defines `new` to a different signature. For example projects using a special version of new on Windows to detect memory leaks: https://learn.microsoft.com/en-us/cpp/c-runtime-library/find-memory-leaks-using-the-crt-library (cherry picked from 16f0625)
- Loading branch information