]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetTabular.h
A first batch of potential bugs spotted by llvm/clang
[features.git] / src / insets / InsetTabular.h
index 178060e86aba47d8a8c7d2c4f408913d453c80a7..1fed9bea174b96c1701d91c4085decfa146e2276 100644 (file)
@@ -57,7 +57,7 @@ public:
        ///
        InsetCode lyxCode() const { return CELL_CODE; }
        ///
-       Inset * clone() { return new InsetTableCell(*this); }
+       Inset * clone() const { return new InsetTableCell(*this); }
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & status) const;