Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-12-27 17:41:56 +0300
committerJacques Lucke <jacques@blender.org>2021-12-27 17:41:56 +0300
commit594438ef0d6135a5bbf9101292db9f2d3aca9312 (patch)
tree6ae5a7496cd9dfb3320d82bf4aaa0b80e83990ef /intern/guardedalloc
parent7cf5f4cc6395062645c6c1849a97c60cab2d09c7 (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.h1
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>