From: Richard Kimberly Heck Date: Wed, 7 Oct 2020 15:05:54 +0000 (-0400) Subject: Use 'delete' for unimplemented constructors. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~109 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b511d8d93e7557f90fea6a3fe5e3e7e908a8ebf9;p=features.git Use 'delete' for unimplemented constructors. Thanks Yuriy! --- diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 3db458af01..d71c25bd71 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -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.