]> Creatis software - clitk.git/blobdiff - vv/vvToolCreatorBase.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolCreatorBase.h
index b2c942fa5a65db646fb280f5636aea0568183f60..5ade4a4a0d27042d69519e8ac658bdb09663d0ed 100644 (file)
@@ -35,7 +35,7 @@ class vvToolCreatorBase: public QObject {
   public:
 
   vvToolCreatorBase(QString name);
-  virtual ~vvToolCreatorBase() {;}  
+  virtual ~vvToolCreatorBase() {}
   virtual void InsertToolInMenu(vvMainWindowBase * m);
   virtual void InsertToolInContextMenu();
   template<class ToolType> void CreateTool();
@@ -55,7 +55,11 @@ class vvToolCreatorBase: public QObject {
   bool mUseContextMenu;
   QMenu * mToolMenu;
   std::vector<QAction*> mListOfActions;
+#if __cplusplus > 199711L
+  std::shared_ptr<QXmlStreamReader> m_XmlReader;
+#else
   std::auto_ptr<QXmlStreamReader> m_XmlReader;
+#endif
   bool mReadStateFlag;
   int mImageIndex;