]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_oversetinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_oversetinset.h
index c7f0a4c30b889681c1c974a51504abc9557c76fd..f73ac6149b6c541a538bfad6b7db742509ca459a 100644 (file)
@@ -18,8 +18,6 @@
 /// Inset for overset
 class MathOversetInset : public MathFracbaseInset {
 public:
-       ///
-       std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -34,6 +32,8 @@ public:
        void normalize(NormalStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif