summaryrefslogtreecommitdiff
path: root/src/msvc6/testpluginrunner/TestPlugInException.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2004-06-18 10:20:42 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2004-06-18 10:20:42 +0000
commit19ca7a3dced278cbc1144c6414a51f26ce92bdc8 (patch)
tree2ecff4ba573f2e0b50808a64a34bc7ecedb883a9 /src/msvc6/testpluginrunner/TestPlugInException.cpp
parentf6cd21bf8618c4671c52d704d99dc3edd17835f1 (diff)
downloadcppunit-19ca7a3dced278cbc1144c6414a51f26ce92bdc8.tar.gz
added DEBUG_NEW for memory leaks tracking
Diffstat (limited to 'src/msvc6/testpluginrunner/TestPlugInException.cpp')
-rw-r--r--src/msvc6/testpluginrunner/TestPlugInException.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/msvc6/testpluginrunner/TestPlugInException.cpp b/src/msvc6/testpluginrunner/TestPlugInException.cpp
index f006c0f..c4fcddd 100644
--- a/src/msvc6/testpluginrunner/TestPlugInException.cpp
+++ b/src/msvc6/testpluginrunner/TestPlugInException.cpp
@@ -7,6 +7,13 @@
#include "StdAfx.h"
#include "TestPlugInException.h"
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#undef THIS_FILE
+static char THIS_FILE[] = __FILE__;
+#endif
+
+
TestPlugInException::TestPlugInException( std::string message,
Cause cause ) :