diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-03 13:22:16 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-03 13:30:20 +0300 |
commit | bbeb1b2b529290b68e5c8f62820f178d50106ac3 (patch) | |
tree | 01a201ede12846c1ccaadc4ac590b45d7884dc8b /source/blender/depsgraph/intern/node/deg_node.h | |
parent | 468adfa4fd9fab09f2ceeca40ab3c72e071931c6 (diff) |
Depsgraph: Use C++ style of guarded allocation of objects
Diffstat (limited to 'source/blender/depsgraph/intern/node/deg_node.h')
-rw-r--r-- | source/blender/depsgraph/intern/node/deg_node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/node/deg_node.h b/source/blender/depsgraph/intern/node/deg_node.h index 94953c4ec5d..188022fa2ae 100644 --- a/source/blender/depsgraph/intern/node/deg_node.h +++ b/source/blender/depsgraph/intern/node/deg_node.h @@ -23,6 +23,8 @@ #pragma once +#include "MEM_guardedalloc.h" + #include "intern/depsgraph_type.h" #include "BLI_utildefines.h" @@ -204,6 +206,8 @@ struct Node { } virtual NodeClass get_class() const; + + MEM_CXX_CLASS_ALLOC_FUNCS("Node"); }; /* Macros for common static typeinfo. */ |