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:
Diffstat (limited to 'source/blender/freestyle/intern/system/RandGen.h')
-rw-r--r--source/blender/freestyle/intern/system/RandGen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/system/RandGen.h b/source/blender/freestyle/intern/system/RandGen.h
index 7d8de72c240..c3e2b3d99f7 100644
--- a/source/blender/freestyle/intern/system/RandGen.h
+++ b/source/blender/freestyle/intern/system/RandGen.h
@@ -34,6 +34,10 @@
#include "../system/Precision.h"
+#ifdef WITH_CXX_GUARDEDALLOC
+#include "MEM_guardedalloc.h"
+#endif
+
namespace Freestyle {
class LIB_SYSTEM_EXPORT RandGen
@@ -44,6 +48,11 @@ public:
private:
static void next();
+
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+ MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:RandGen")
+#endif
};
} /* namespace Freestyle */