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? /// Can the cell contain several paragraphs?
bool allowMultiPar() const override { return !isMultiRow && (!isMultiColumn || isFixedWidth); } bool allowMultiPar() const override { return !isMultiRow && (!isMultiColumn || isFixedWidth); }
private: private:
/// unimplemented ///
InsetTableCell(); InsetTableCell() = delete;
/// unimplemented ///
void operator=(InsetTableCell const &); void operator=(InsetTableCell const &) = delete;
// FIXME // FIXME
// These booleans are supposed to track whether the cell has had its // These booleans are supposed to track whether the cell has had its
// width explicitly set and whether it is part of a multicolumn, respectively. // width explicitly set and whether it is part of a multicolumn, respectively.