]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiagram.h
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathDiagram.h
index 732cd4ee1b57d34bfd92d53d4928a7588d1a514d..95e16e278023b45460be946c2f2b90c41b17d022 100644 (file)
@@ -22,34 +22,34 @@ namespace lyx {
 class InsetMathDiagram : public InsetMathGrid {
 public:
        ///
-       InsetMathDiagram(Buffer * buf);
+       explicit InsetMathDiagram(Buffer * buf);
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const override;
        ///
        InsetMathDiagram const * asDiagramInset() const { return this; }
        ///
-       virtual int colsep() const;
+       int colsep() const override;
        ///
-       virtual int rowsep() const;
+       int rowsep() const override;
 
        ///
-       void write(WriteStream & os) const;
+       void write(TeXMathStream & os) const override;
        ///
-       void infoize(odocstream & os) const;
+       void infoize(odocstream & os) const override;
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void maple(MapleStream &) const;
+       void maple(MapleStream &) const override;
        ///
-       void validate(LaTeXFeatures & features) const;
+       void validate(LaTeXFeatures & features) const override;
        ///
-       InsetCode lyxCode() const { return MATH_DIAGRAM_CODE; }
+       InsetCode lyxCode() const override { return MATH_DIAGRAM_CODE; }
 
 private:
        ///
-       virtual Inset * clone() const;
+       Inset * clone() const override;
 
 };