[PATCH] Add override specifier

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Oct 5 16:19:46 UTC 2020


Le 05/10/2020 à 17:50, José Abílio Matos a écrit :
> On Monday, October 5, 2020 2:13:35 PM WEST Jean-Marc Lasgouttes wrote:
>> Yes, clang 10 does
>>
>> JMarc
> 
> BTW compiling with clang 11 and without changing the compile flags I get lots
> (in the tens) of warnings like this:
> 
> /home/jamatos/lyx/lyx/src/insets/InsetTabular.h:92:7: warning: definition of
> implicit copy constructor for 'InsetTableCell' is deprecated because it has a
> user-declared copy assignment operator [-Wdeprecated-copy]
>          void operator=(InsetTableCell const &);

Fixed ;)

JMarc

PS: yes, a proper fix will be eventually required, but I do not really 
know what we should do.


More information about the lyx-devel mailing list