]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_spaceinset.h
index d43d384a5f272667272c1b0b6dc8118def38d815..c6fad086d4a618d470f974d2fdf4da04a795f30a 100644 (file)
@@ -23,8 +23,6 @@ public:
        ///
        explicit MathSpaceInset(std::string const & name);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        MathSpaceInset const * asSpaceInset() const { return this; }
        ///
        MathSpaceInset * asSpaceInset() { return this; }
@@ -54,6 +52,7 @@ public:
        ///
        void write(WriteStream & os) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        int space_;
 };