Update ppm2pwg/Bytestream

...to get the size constructor back.
This commit is contained in:
Anton Thomasson 2020-08-29 17:26:26 +02:00
parent 2f854efc82
commit fa34843c3e
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit fbe0dab589959b3ff700daf594baffdba0bf2aca Subproject commit f411bb1421bec6f6f1af80053749ea28a9a9a6ae

View file

@ -146,7 +146,7 @@ void IppDiscovery::readPendingDatagrams()
while (socket->hasPendingDatagrams()) { while (socket->hasPendingDatagrams()) {
size_t size = socket->pendingDatagramSize(); size_t size = socket->pendingDatagramSize();
Bytestream resp = Bytestream::preallocated(size); Bytestream resp(size);
QHostAddress sender; QHostAddress sender;
quint16 senderPort; quint16 senderPort;