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>
This commit is contained in:
Thiago Macieira 2022-04-26 09:16:39 -07:00
parent aa0a53fc19
commit 860b8d00ca

View File

@ -44,6 +44,9 @@
#include "qsimd_p.h"
#include "qalgorithms.h"
#include <array> // for std::size
#include <stdio.h>
#include <string.h>