From b511d8d93e7557f90fea6a3fe5e3e7e908a8ebf9 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Wed, 7 Oct 2020 11:05:54 -0400 Subject: [PATCH] Use 'delete' for unimplemented constructors. Thanks Yuriy! --- src/insets/InsetTabular.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.