[PATCH] Add override specifier

Yuriy Skalko yuriy.skalko at gmail.com
Wed Oct 7 07:10:40 UTC 2020


> It wouldn't be awful, but we do not want to allow assignments to these
> things. That's why that's there, and undefined.
> 
> Riki


> Is not your patch like:
> 
> InsetTableCell::InsetTableCell(InsetTableCell const & in) = default;
> 
> Or I am in the wrong standard?
> -- 
> José Abílio


If assignments should be forbidden, this will be better:

InsetTableCell::InsetTableCell(InsetTableCell const & in) = delete;


Yuriy


More information about the lyx-devel mailing list