[PATCH] Add override specifier

José Abílio Matos jamatos at lyx.org
Mon Oct 5 15:50:35 UTC 2020


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 &);
             ^
/home/jamatos/lyx/lyx/src/insets/InsetTabular.h:60:37: note: in implicit copy 
constructor for 'lyx::InsetTableCell' first required here
        Inset * clone() const { return new InsetTableCell(*this); }


-- 
José Abílio




More information about the lyx-devel mailing list