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:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-07-03 13:22:16 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-07-03 13:30:20 +0300
commitbbeb1b2b529290b68e5c8f62820f178d50106ac3 (patch)
tree01a201ede12846c1ccaadc4ac590b45d7884dc8b /source/blender/depsgraph/intern/depsgraph_relation.h
parent468adfa4fd9fab09f2ceeca40ab3c72e071931c6 (diff)
Depsgraph: Use C++ style of guarded allocation of objects
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_relation.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_relation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_relation.h b/source/blender/depsgraph/intern/depsgraph_relation.h
index a5d69c08d1f..7154710e07e 100644
--- a/source/blender/depsgraph/intern/depsgraph_relation.h
+++ b/source/blender/depsgraph/intern/depsgraph_relation.h
@@ -23,6 +23,8 @@
#pragma once
+#include "MEM_guardedalloc.h"
+
namespace blender {
namespace deg {
@@ -59,6 +61,8 @@ struct Relation {
/* relationship attributes */
const char *name; /* label for debugging */
int flag; /* Bitmask of RelationFlag) */
+
+ MEM_CXX_CLASS_ALLOC_FUNCS("Relation");
};
} // namespace deg