add header for working memleak check
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Nov 2006 15:53:28 +0000 (15:53 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Nov 2006 15:53:28 +0000 (15:53 +0000)
lib/base/eptrlist.h
lib/base/object.h

index ea7e285c79f918b72925762c38736261bfd16350..7e7a45a2c3580bc2c1f59fbd0b026c666248893f 100644 (file)
@@ -5,6 +5,7 @@
 #include <vector>
 #include <algorithm>
 #include <lib/base/smartptr.h>
+#include <lib/base/eerror.h>
 
 template <class T>
 class ePtrList : public std::list<T*>
index 7f823223f1f862cf5ddddc5207d8288fcb831c13..ea08a771939fa2a8a7f931dca2846344d5504688 100644 (file)
@@ -7,9 +7,7 @@
 
 //#define OBJECT_DEBUG
 
-#ifdef OBJECT_DEBUG
-       #include <lib/base/eerror.h>
-#endif
+#include <lib/base/eerror.h>
 
 typedef int RESULT;