]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMacroArgument.h
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / InsetMathMacroArgument.h
index fe42f2be3662c60a84865f2cfa9867ea208f21fd..c0839c0464050d04e85a665aebef23976364c1a4 100644 (file)
@@ -26,16 +26,16 @@ class InsetMathHash : public InsetMath {
 public:
        explicit InsetMathHash(docstring const & str = docstring()) : str_('#' + str) {};
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void draw(PainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const override;
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void write(WriteStream & os) const;
+       void write(WriteStream & os) const override;
 
 private:
-       Inset * clone() const;
+       Inset * clone() const override;
 
 protected:
        ///
@@ -53,13 +53,13 @@ public:
        /// Assumes 0 < n <= 9
        void setNumber(int n);
        ///
-       InsetCode lyxCode() const { return MATH_MACROARG_CODE; }
+       InsetCode lyxCode() const override { return MATH_MACROARG_CODE; }
 
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
 
 private:
-       Inset * clone() const;
+       Inset * clone() const override;
        /// A number between 1 and 9
        int number_;
 };