mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-07 02:38:33 +02:00
add missing return of new packet
This commit is contained in:
parent
d3e48e1293
commit
8935baf3aa
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ template <typename T> std::unique_ptr<T> PacketList<T>::createPacketWithExtended
|
|||
qDebug() << "Could not write extendedHeader in PacketList::createPacketWithExtendedHeader"
|
||||
<< "- make sure that _extendedHeader is not larger than the payload capacity.";
|
||||
}
|
||||
|
||||
return packet;
|
||||
}
|
||||
|
||||
template <typename T> qint64 PacketList<T>::writeData(const char* data, qint64 maxSize) {
|
||||
|
|
Loading…
Reference in a new issue