mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::allocator: Add returns_nonnull attribute to the profiler's operator new.
This commit is contained in:
parent
355c1845e3
commit
c93166f9e4
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ ircd::allocator::operator+=(profile &a,
|
|||
|
||||
#ifdef RB_PROF_ALLOC // --------------------------------------------------
|
||||
|
||||
__attribute__((alloc_size(1), malloc))
|
||||
__attribute__((alloc_size(1), malloc, returns_nonnull))
|
||||
void *
|
||||
operator new(const size_t size)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue