]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetFormulaMacro.h
use bald pointers in clone()
[lyx.git] / src / mathed / InsetFormulaMacro.h
index db33b839dc81d959ae27eb06b02abc5ea814c31f..dc98225bce0bdc676afb33c0edb6456235ee8b59 100644 (file)
@@ -53,8 +53,6 @@ public:
        int docbook(Buffer const &, odocstream &,
                    OutputParams const &) const;
 
-       ///
-       std::auto_ptr<Inset> clone() const;
        ///
        Inset::Code lyxCode() const { return MATHMACRO_CODE; }
        ///
@@ -70,6 +68,8 @@ private:
        docstring prefix() const;
        ///
        docstring name_;
+       ///
+       Inset * clone() const;
 };