]> Creatis software - clitk.git/blobdiff - vv/vvToolBaseBase.h
Add interactions with window/level bars in the histogram tool
[clitk.git] / vv / vvToolBaseBase.h
index c763010523bd04afff973974dc092aac823a5ee7..fa93d14d7e8085588c11d30aa69d0c139621a2b4 100644 (file)
@@ -19,6 +19,7 @@
 #ifndef VVTOOLBASEBASE_H
 #define VVTOOLBASEBASE_H
 
+#include <algorithm>
 #include "vvMainWindowBase.h"
 #include "vvToolCreatorBase.h"
 class QXmlStreamWriter;
@@ -28,10 +29,8 @@ class QXmlStreamReader;
 class vvToolBaseBase {
 public:
   virtual ~vvToolBaseBase() { 
-    DD("destrucotr vvToolBaseBase");
     std::vector<vvToolBaseBase*> & v = mCreator->GetListOfTool();
     v.erase(std::find(v.begin(), v.end(), this));
-    DD("end dest");
   };
   
   virtual void SaveState(std::auto_ptr<QXmlStreamWriter> & m_XmlWriter);