Refactoring patches

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Oct 12 15:26:03 UTC 2020


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. Removal of our own classes or includes should be fine.

JMarc


More information about the lyx-devel mailing list