]> git.lyx.org Git - features.git/commitdiff
Use 'delete' for unimplemented constructors.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Wed, 7 Oct 2020 15:05:54 +0000 (11:05 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Wed, 7 Oct 2020 15:05:54 +0000 (11:05 -0400)
Thanks Yuriy!

src/insets/InsetTabular.h

index 3db458af0193022189db93d17473a16e72fc5825..d71c25bd71aa1fc555be840351299ea5c88b2623 100644 (file)
@@ -89,10 +89,10 @@ public:
        /// Can the cell contain several paragraphs?
        bool allowMultiPar() const override { return !isMultiRow && (!isMultiColumn || isFixedWidth); }
 private:
-       /// unimplemented
-       InsetTableCell();
-       /// unimplemented
-       void operator=(InsetTableCell const &);
+       ///
+       InsetTableCell() = delete;
+       ///
+       void operator=(InsetTableCell const &) = delete;
        // FIXME
        // These booleans are supposed to track whether the cell has had its
        // width explicitly set and whether it is part of a multicolumn, respectively.