diff options
Diffstat (limited to 'intern/elbeem/intern/simulation_object.h')
-rw-r--r-- | intern/elbeem/intern/simulation_object.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/intern/elbeem/intern/simulation_object.h b/intern/elbeem/intern/simulation_object.h index 76684fa6f83..4a89d1510a9 100644 --- a/intern/elbeem/intern/simulation_object.h +++ b/intern/elbeem/intern/simulation_object.h @@ -18,6 +18,10 @@ #include "ntl_geometryshader.h" #include "parametrizer.h" +#ifdef WITH_CXX_GUARDEDALLOC +# include "MEM_guardedalloc.h" +#endif + class LbmSolverInterface; class CellIdentifierInterface; class ntlTree; @@ -188,6 +192,11 @@ class SimulationObject : virtual inline ntlVec3Gfx *getBBStart() { return &mGeoStart; } virtual inline ntlVec3Gfx *getBBEnd() { return &mGeoEnd; } + +private: +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("ELBEEM:SimulationObject") +#endif }; |