diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-06-07 14:34:30 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-06-07 14:34:30 +0300 |
commit | 6e6a1838ea6923df147813954ce08b0093cf00be (patch) | |
tree | e99706c59b9a0863e8f95100e5ffe944f7f8e49e /source/blender/draw/intern/draw_cache_extract_mesh.cc | |
parent | 1d3ffc93ec389d42dee5b5dd2cb06d3e5262060b (diff) |
Cleanup: Added Guarderalloc deallocators to CPP structs.
Diffstat (limited to 'source/blender/draw/intern/draw_cache_extract_mesh.cc')
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract_mesh.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract_mesh.cc b/source/blender/draw/intern/draw_cache_extract_mesh.cc index fca40206659..ef41fe14ce6 100644 --- a/source/blender/draw/intern/draw_cache_extract_mesh.cc +++ b/source/blender/draw/intern/draw_cache_extract_mesh.cc @@ -66,6 +66,10 @@ struct ExtractorRunData { ExtractorRunData(const MeshExtract *extractor) : extractor(extractor) { } + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("DRAW:ExtractorRunData") +#endif }; class ExtractorRunDatas : public Vector<ExtractorRunData> { @@ -127,6 +131,10 @@ class ExtractorRunDatas : public Vector<ExtractorRunData> { } return data_type; } + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("DRAW:ExtractorRunDatas") +#endif }; /** \} */ |