diff options
author | Jacques Lucke <jacques@blender.org> | 2021-12-27 17:41:56 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-12-27 17:41:56 +0300 |
commit | 594438ef0d6135a5bbf9101292db9f2d3aca9312 (patch) | |
tree | 6ae5a7496cd9dfb3320d82bf4aaa0b80e83990ef /intern/guardedalloc | |
parent | 7cf5f4cc6395062645c6c1849a97c60cab2d09c7 (diff) |
Allocator: add missing include
The placement-new operator requires `#include <new>`.
It is used in `MEM_new`.
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index 043f7055ab1..8a20323dcfc 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -260,6 +260,7 @@ void MEM_use_guarded_allocator(void); #ifdef __cplusplus +# include <new> # include <type_traits> # include <utility> |