[Bf-blender-cvs] [7fe4b23] soc-2014-viewport_context: Add c++ guarded alloc define to GHOST_Context
Campbell Barton
noreply at git.blender.org
Tue Jul 29 05:47:10 CEST 2014
Commit: 7fe4b23a98460cf003a9f3f59ad4089afde77857
Author: Campbell Barton
Date: Tue Jul 29 13:46:32 2014 +1000
Branches: soc-2014-viewport_context
https://developer.blender.org/rB7fe4b23a98460cf003a9f3f59ad4089afde77857
Add c++ guarded alloc define to GHOST_Context
===================================================================
M intern/ghost/intern/GHOST_Context.h
===================================================================
diff --git a/intern/ghost/intern/GHOST_Context.h b/intern/ghost/intern/GHOST_Context.h
index b5234e8..37d2040 100644
--- a/intern/ghost/intern/GHOST_Context.h
+++ b/intern/ghost/intern/GHOST_Context.h
@@ -141,6 +141,9 @@ protected:
private:
GLEWContext *m_glewContext;
+#ifdef WITH_CXX_GUARDEDALLOC
+ MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_Context")
+#endif
};
More information about the Bf-blender-cvs
mailing list