From e61b7574e0413c3ea35d292ac0015eec27270dd2 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 23 May 2022 16:33:27 +0200 Subject: [PATCH] q20functional.h: transitively include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't want to require users to say #include #include because that would leave duplicated includes after a mechanical s/q20functional.h/functional/. Mechanical transformation is the major design goal of the qNN namespaces, so fix this before we use the header in ever more places. Pick-to: 6.3 Change-Id: Id258c36a042214f41b737fb7ab60906cc8e76ca6 Reviewed-by: Fabian Kosmale Reviewed-by: Andrei Golubev Reviewed-by: MÃ¥rten Nordheim --- src/corelib/global/q20functional.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/global/q20functional.h b/src/corelib/global/q20functional.h index 787b3ec035..13e6c9e090 100644 --- a/src/corelib/global/q20functional.h +++ b/src/corelib/global/q20functional.h @@ -23,6 +23,8 @@ // We mean it. // +#include + QT_BEGIN_NAMESPACE namespace q20 {