From 860b8d00ca766647bc644af733371046cd198239 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 26 Apr 2022 09:16:39 -0700 Subject: [PATCH] Fix build with GCC 12's libstdc++ and Clang qsimd.cpp:400:31: error: no member named 'size' in namespace 'std' Pick-to: 6.2 6.3 Change-Id: I35544e2937c048e4a466fffd16e97e7a20d9da69 Reviewed-by: Allan Sandfeld Jensen --- src/corelib/global/qsimd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/corelib/global/qsimd.cpp b/src/corelib/global/qsimd.cpp index a10cb6f6fb..094c7d93a3 100644 --- a/src/corelib/global/qsimd.cpp +++ b/src/corelib/global/qsimd.cpp @@ -44,6 +44,9 @@ #include "qsimd_p.h" #include "qalgorithms.h" + +#include // for std::size + #include #include