summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.cpp
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-06-25 15:10:14 +0000
committerFedja Beader <fedja@protonmail.ch>2025-06-25 15:10:14 +0000
commita42f7cbc8ae25a91f510351c54752b0b41562f82 (patch)
tree8bebbd4eeca7b586b25e9bd67c1054398f641c33 /src/gui/widgets/checkbox.cpp
parentfd617a8f12964e9f7ef0e5c0d078f539019a3d9a (diff)
downloadmanaplus-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/checkbox.cpp')
-rw-r--r--src/gui/widgets/checkbox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index ce5ac28b0..d1bee3665 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -79,6 +79,8 @@
#include "resources/image/image.h"
+#include "utils/performance.h"
+
#include "debug.h"
int CheckBox::instances = 0;