diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-13 14:43:37 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-13 14:43:37 +0200 |
commit | a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d (patch) | |
tree | d2d8737bb7758fbf521909a367e9188b9c5690f6 /common/bufferutils.h | |
parent | 60965ca1431b2b3bed4f49e6bf1a9d5e5d86a3d9 (diff) | |
download | sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.tar.gz sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.zip |
Fixed new diagnostics errors
Diffstat (limited to 'common/bufferutils.h')
-rw-r--r-- | common/bufferutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bufferutils.h b/common/bufferutils.h index d6008c4..6763ced 100644 --- a/common/bufferutils.h +++ b/common/bufferutils.h | |||
@@ -26,7 +26,7 @@ static QByteArray extractBuffer(const flatbuffers::FlatBufferBuilder &fbb) | |||
26 | static QList<QByteArray> fromVector(const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> &vector) | 26 | static QList<QByteArray> fromVector(const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> &vector) |
27 | { | 27 | { |
28 | QList<QByteArray> list; | 28 | QList<QByteArray> list; |
29 | for (const auto &data : vector) { | 29 | for (const flatbuffers::String *data : vector) { |
30 | Q_ASSERT(data); | 30 | Q_ASSERT(data); |
31 | list << QByteArray::fromStdString(data->str()); | 31 | list << QByteArray::fromStdString(data->str()); |
32 | } | 32 | } |