summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-05-13 18:38:59 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-05-14 17:31:15 +0000
commit7f35255d87dfa4249cb21dcadf407dd78b48296a (patch)
tree91894e53d959d6a049fe30b8fe42a7074f126afd /src/corelib/tools/qsharedpointer.cpp
parenta73385e2cfd0455f09166cdb380876ba8b26fb5f (diff)
QByteData: use int to return the number of managed QByteArrays
The internal QByteArrays are kept in a QList, so we can use int to get the count. This matches what operator[] takes, and gets rid of a bunch of warnings when iterating over a QByteData using a plain int as a index variable. Change-Id: Ib44d4101612135b976979a8464442e94706f8736 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions