On 2015-09-17, Frederik Gladhorn <[email protected]> wrote: > --- a/src/corelib/tools/qbytearray.h > +++ b/src/corelib/tools/qbytearray.h > @@ -43,6 +43,7 @@ > #include <stdarg.h> >=20 > #include <string> > +#include <iterator> >=20 > #ifdef truncate > #error qbytearray.h must be included before any header file that defin= > es truncate > @@ -162,9 +163,6 @@ private: > typedef QTypedArrayData<char> Data; >=20 > public: > - // undocumented: > - static const quint64 MaxSize =3D (1 << 30) - sizeof(Data); > - > enum Base64Option { > Base64Encoding =3D 0, > Base64UrlEncoding =3D 1, > @@ -338,16 +336,16 @@ public:
Even though it is marked as undocumented, it does look slightly fishy to me. /Sune _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
