X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBaseBase.h;h=9c76bb125bfbd4aba518bda40e903ce3e1b2ee77;hb=b7b8f2b040d1772c30c34653ee3fe0c27bc8fa71;hp=fa93d14d7e8085588c11d30aa69d0c139621a2b4;hpb=cf891024f9fed4d9ee3eabf13f2114a1d724df43;p=clitk.git diff --git a/vv/vvToolBaseBase.h b/vv/vvToolBaseBase.h index fa93d14..9c76bb1 100644 --- a/vv/vvToolBaseBase.h +++ b/vv/vvToolBaseBase.h @@ -32,8 +32,11 @@ public: std::vector & v = mCreator->GetListOfTool(); v.erase(std::find(v.begin(), v.end(), this)); }; - +#if __cplusplus > 199711L + virtual void SaveState(std::shared_ptr & m_XmlWriter); +#else virtual void SaveState(std::auto_ptr & m_XmlWriter); +#endif virtual void InitializeNewTool(bool ReadStateFlag); void SetCreator(vvToolCreatorBase * m) { mCreator = m; } void SetXmlReader(QXmlStreamReader * r, int index) { m_XmlReader = r; mImageIndex = index;}