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/Exception.h')
-rw-r--r--source/blender/freestyle/intern/system/Exception.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/system/Exception.h b/source/blender/freestyle/intern/system/Exception.h
index a87c8730c50..d69de7b10dd 100644
--- a/source/blender/freestyle/intern/system/Exception.h
+++ b/source/blender/freestyle/intern/system/Exception.h
@@ -30,6 +30,10 @@
#include "FreestyleConfig.h"
+#ifdef WITH_CXX_GUARDEDALLOC
+#include "MEM_guardedalloc.h"
+#endif
+
namespace Freestyle {
class LIB_SYSTEM_EXPORT Exception
@@ -60,6 +64,11 @@ public:
private:
static exception_type _exception;
+
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+ MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Exception")
+#endif
};
} /* namespace Freestyle */