Use 'delete' for unimplemented constructors.

Thanks Yuriy!
This commit is contained in:
Richard Kimberly Heck 2020-10-07 11:05:54 -04:00
parent aef74183c1
commit b511d8d93e

View 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.