From fc4a3a8cfc5a6e766d24ec5a3856e27919c136f6 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 17 Jul 2024 16:37:57 +0200 Subject: [PATCH] qxptype_traits.h: include q20type_traits.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A qNNfoo.h should always include qMMfoo.h, MM=NN-3, if that exists, to avoid a user having to include both qNNfoo.h and qMMfoo.h, which later become two includes on automated replacement. For the purpoes of this argument, NN=xp is considered equal to max({MM : ∃qMMfoo.h}) + 3. Following this logic, qxptype_traits.h should include q20type_traits.h (q23type_traits.h doesn't, yet, exist). It didn't, so fix. Amends def2a3de3741410bbf7ab31b59afc27b0777e09b. Pick-to: 6.7 6.5 Change-Id: I8153d241783dc4e505fddf2407d27990e5c522f4 Reviewed-by: Ivan Solovev (cherry picked from commit 720ae32f79038a5db763a2371c0e8d25d32d93cf) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/global/qxptype_traits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/qxptype_traits.h b/src/corelib/global/qxptype_traits.h index d1641e1d0d3..ff4c3abca58 100644 --- a/src/corelib/global/qxptype_traits.h +++ b/src/corelib/global/qxptype_traits.h @@ -8,7 +8,7 @@ #include #include -#include +#include // // W A R N I N G