QDataStream: add missing #include <iterator>
For std::distance() and std::next(). Amends 003c29511de5979fba526acd62f2a4c7c356b982. Pick-to: 6.6 6.5 6.2 Task-number: QTBUG-114583 Change-Id: I6e2677aad2ab45759db2fffd17a7318d396cbc4d Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 44b7b1d11b7c83b1f19df915577224f97371c655) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
923918c66b
commit
a13d7d6596
@ -9,6 +9,8 @@
|
||||
#include <QtCore/qcontainerfwd.h>
|
||||
#include <QtCore/qnamespace.h>
|
||||
|
||||
#include <iterator> // std::distance(), std::next()
|
||||
|
||||
#ifdef Status
|
||||
#error qdatastream.h must be included before any header file that defines Status
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user