diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-26 12:17:38 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-29 18:00:13 +0200 |
commit | c70c4e42665eb34e677fc51a49552c9af3f58d7a (patch) | |
tree | 0e7a70f5104025a3cd1ec33db746989415f7bb83 /src/corelib/serialization/qcborstreamwriter.cpp | |
parent | f3c7d22dd04afe8d889585fb5d6426f3d4591e74 (diff) |
Use QList instead of QVector in corelib docs
Task-number: QTBUG-84469
Task-number: QTBUG-85221
Change-Id: Ieb0ba7d82409e3c053a5788a01e92ea495505643
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/serialization/qcborstreamwriter.cpp')
-rw-r--r-- | src/corelib/serialization/qcborstreamwriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/serialization/qcborstreamwriter.cpp b/src/corelib/serialization/qcborstreamwriter.cpp index 791f8775ff..4d6f323e9a 100644 --- a/src/corelib/serialization/qcborstreamwriter.cpp +++ b/src/corelib/serialization/qcborstreamwriter.cpp @@ -729,7 +729,7 @@ void QCborStreamWriter::appendTextString(const char *utf8, qsizetype len) length is implied by the elements contained in it. Note, however, that use of indeterminate-length arrays is not compliant with canonical CBOR encoding. - The following example appends elements from the vector of strings + The following example appends elements from the list of strings passed as input: \snippet code/src_corelib_serialization_qcborstream.cpp 20 @@ -802,7 +802,7 @@ bool QCborStreamWriter::endArray() indeterminate-length maps is not compliant with canonical CBOR encoding (canonical encoding also requires keys to be unique and in sorted order). - The following example appends elements from the vector of int and + The following example appends elements from the list of int and string pairs passed as input: \snippet code/src_corelib_serialization_qcborstream.cpp 22 |