]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetEnvironment.h
use bald pointers in clone()
[lyx.git] / src / insets / InsetEnvironment.h
index 55e9bf0a4ecbdcc380a409a15eee426585849c66..b71543f2c5f0c1bb17f2b396bb5966fdafffb792 100644 (file)
@@ -49,7 +49,7 @@ public:
 protected:
        InsetEnvironment(InsetEnvironment const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        /// the layout
        LayoutPtr layout_;
        ///