mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-09 00:35:20 -05:00
qgswkbptr.h is included indirectly by a large number of source files. So this commit does the following: - remove #include "qgsapplication.h" from qgswkbptr.h, and copy-paste the swap_endian function where it's used. - add the missing #include "qgsapplication.h" in other files The rationale for this change is: - qgswkbptr.h doesn't really needs QgsApplication, since it only used swap_endian. We don't need to add a fake dependency on QgsApplication on every (indirect) "includers" of qgswkbptr.h - qgsapplication.h depends on qgsconfig.h which itself changes quite often (on every git op at least). Before this change, a 'git commit' would trigger a rebuild of about 3500 files. With this change we're down to ~700.