X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolBaseBase.h;h=9c76bb125bfbd4aba518bda40e903ce3e1b2ee77;hb=c99626f17e07dbde440eb40a25683ce441a49a6e;hp=fa93d14d7e8085588c11d30aa69d0c139621a2b4;hpb=259619f9c388b34a9bbb22ace79e9320300f812f;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;}