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/widgets/dropdown.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/widgets/dropdown.cpp')
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index e66bdafbe..48433320a 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -39,6 +39,8 @@ #include "resources/imagerect.h" +#include "utils/performance.h" + #include "debug.h" int DropDown::instances = 0; |