Refactoring patches

Pavel Sanda sanda at lyx.org
Mon Oct 12 16:06:55 UTC 2020


On Mon, Oct 12, 2020 at 05:26:03PM +0200, Jean-Marc Lasgouttes wrote:
> Le 12/10/2020 ?? 15:51, Pavel Sanda a écrit :
> >Getting rid of unnecessary includes is a valuable goal.
> >There are two things to keep in mind:
> >- One should try to get rid of redundant includes from headers first, only after that reducing .cpp files (otherwise the check of .h files becomes more tricky).
> >- some generic headers were included as a consequence of different dependencies on different gcc versions or exotic architectures..
> 
> Note however  that only removal of system includes or Qt includes may be a
> problem. 

Sorry, yes, that's what I meant by "generic headers".

Pavel


More information about the lyx-devel mailing list