From bbeb1b2b529290b68e5c8f62820f178d50106ac3 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 3 Jul 2020 12:22:16 +0200 Subject: Depsgraph: Use C++ style of guarded allocation of objects --- source/blender/depsgraph/intern/depsgraph_relation.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/depsgraph/intern/depsgraph_relation.h') 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 -- cgit v1.2.3