Commit 11dbba35 authored by Max Kellermann's avatar Max Kellermann

util/HugeAllocator: document std::bad_alloc

parent 8662427d
......@@ -42,6 +42,8 @@
* Allocate a huge amount of memory. This will be done in a way that
* allows giving the memory back to the kernel as soon as we don't
* need it anymore. On the downside, this call is expensive.
*
* Throws std::bad_alloc on error
*/
gcc_malloc
void *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment