summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text')
-rw-r--r--src/corelib/text/qstringalgorithms.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/text/qstringalgorithms.h b/src/corelib/text/qstringalgorithms.h
index 84c104eafd..538ae892b0 100644
--- a/src/corelib/text/qstringalgorithms.h
+++ b/src/corelib/text/qstringalgorithms.h
@@ -13,8 +13,7 @@
#endif
#include <algorithm> // std::find
-
-#include <string.h> // for memchr
+#include <iterator> // std::size
#include <QtCore/q20type_traits.h> // q20::is_constant_evaluated