]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnv.h
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathEnv.h
index 9bc338d90482e4f16db20dde75fa334cf2b79a81..4f8a342c0fef0fb2999281464c691f5f6a4fb674 100644 (file)
@@ -24,20 +24,20 @@ public:
        ///
        InsetMathEnv(Buffer * buf, docstring const & name_);
        ///
-       void draw(PainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const override;
        ///
-       void write(WriteStream & os) const;
+       void write(TeXMathStream & os) const override;
        /// write normalized content
-       void normalize(NormalStream & ns) const;
+       void normalize(NormalStream & ns) const override;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void infoize(odocstream & os) const;
+       void infoize(odocstream & os) const override;
        ///
-       InsetCode lyxCode() const { return MATH_ENV_CODE; }
+       InsetCode lyxCode() const override { return MATH_ENV_CODE; }
 
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
        /// name of that environment
        docstring name_;
 };