qstringalgorithms: include <iterator> in favor of <string.h>
The switch from <string> to <string.h> dropped the definition of std::size. Include <iterator> since <string.h> is no longer used to pull in std::size. Amends: dc2ae08e02730ab795445bc047221aa56914f723. Change-Id: Ib742538eb5d21c77fcae7ee9abb6d5329bbcfd63 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> (cherry picked from commit dea548ef040c95d6fd6796051b12f148372b0f22) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
b6a5528369
commit
532e562b91
@ -13,8 +13,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <algorithm> // std::find
|
#include <algorithm> // std::find
|
||||||
|
#include <iterator> // std::size
|
||||||
#include <string.h> // for memchr
|
|
||||||
|
|
||||||
#include <QtCore/q20type_traits.h> // q20::is_constant_evaluated
|
#include <QtCore/q20type_traits.h> // q20::is_constant_evaluated
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user