[Development] Qt 5.6.0 header diff: QtCore.diff

Sune Vuorela nospam at vuorela.dk
Thu Sep 17 20:17:01 CEST 2015


On 2015-09-17, Frederik Gladhorn <frederik.gladhorn at theqtcompany.com> 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




More information about the Development mailing list