diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-04-26 09:16:39 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-04-26 15:45:46 -0700 |
commit | 860b8d00ca766647bc644af733371046cd198239 (patch) | |
tree | 273da12d75eb9123c98b34fab63711785c673328 /src | |
parent | aa0a53fc19be10b8b1d191415bda82af259a8b23 (diff) |
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 <allan.jensen@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qsimd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <array> // for std::size + #include <stdio.h> #include <string.h> |