From a42f7cbc8ae25a91f510351c54752b0b41562f82 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Wed, 25 Jun 2025 15:10:14 +0000 Subject: 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 --- src/gui/widgets/checkbox.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/checkbox.cpp') 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; -- cgit v1.2.3-70-g09d2