]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
Only set buffer if it is not null.
[lyx.git] / src / mathed / InsetMathScript.h
index 737d7c3ab24192839e95919868e237350222cad7..37fc593372e6a5ca7f23a65e19486533689b3d50 100644 (file)
@@ -50,7 +50,7 @@ public:
        /// move cursor up or down
        bool idxUpDown(Cursor & cur, bool up) const override;
        /// The index of the cell entered while moving backward
-       size_type lastIdx() const { return 0; }
+       size_type lastIdx() const override { return 0; }
 
        /// write LaTeX and Lyx code
        void write(WriteStream & os) const override;