mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 09:35:04 +02:00
Update PacketReceiver to pass NLPacket as NLPacket&
This commit is contained in:
parent
2380fb23c3
commit
976d14736d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ void PacketReceiver::processDatagrams() {
|
|||
//TODO Update packet
|
||||
std::unique_ptr<NLPacket> packet;
|
||||
bool success = QMetaObject::invokeMethod(listener.first, listener.second,
|
||||
Q_ARG(std::unique_ptr<NLPacket>, packet),
|
||||
Q_ARG(NLPacket&, *packet),
|
||||
Q_ARG(HifiSockAddr, senderSockAddr));
|
||||
if (!success) {
|
||||
qDebug() << "Error sending packet " << incomingType << " to listener: " << listener.first->objectName() << "::" << listener.second;
|
||||
|
|
Loading…
Reference in a new issue