Index: trunk/MagicSoft/Cosy/base/MGList.h
===================================================================
--- trunk/MagicSoft/Cosy/base/MGList.h	(revision 914)
+++ trunk/MagicSoft/Cosy/base/MGList.h	(revision 918)
@@ -2,5 +2,7 @@
 #define MGLIST_H
 
+#ifdef DBG_MGLIST
 #include <iostream.h>
+#endif
 
 #ifndef ROOT_TOrdCollection
@@ -13,5 +15,7 @@
     ~MGList()
     {
+#ifdef DBG_MGLIST
         cout << "Deleting:" << flush;
+#endif
 
         TIter Next(this);
@@ -20,8 +24,12 @@
         while ((obj=Next()))
         {
+#ifdef DBG_MGLIST
             cout << " <" << ((TGObject*)obj)->GetName() << ">" << flush;
+#endif
             delete (TGObject*)obj;
         }
+#ifdef DBG_MGLIST
         cout << endl;
+#endif
     }
     void Add(TGObject *obj)
