diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-06-25 15:10:14 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-06-25 15:10:14 +0000 |
commit | a42f7cbc8ae25a91f510351c54752b0b41562f82 (patch) | |
tree | 8bebbd4eeca7b586b25e9bd67c1054398f641c33 /src/gui/windows/updaterwindow.cpp | |
parent | fd617a8f12964e9f7ef0e5c0d078f539019a3d9a (diff) | |
download | manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.tar.gz manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.tar.bz2 manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.tar.xz manaplus-a42f7cbc8ae25a91f510351c54752b0b41562f82.zip |
Split #include "utils/performance.h" out of localconsts.h
only about 160 out of 1500 files that include localconsts.h need
to include performance.h
Saves 12% from compile times (with profiler ON) and 0.1% with profiler OFF.
****
mana/plus!189
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 55d0ba2b0..87a2b1894 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -53,6 +53,7 @@ #include "utils/delete2.h" #include "utils/foreach.h" #include "utils/gettext.h" +#include "utils/performance.h" #include <sys/stat.h> |