mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Add send unreliable takes const ref
This commit is contained in:
parent
605b004514
commit
f2e0524817
1 changed files with 8 additions and 3 deletions
|
@ -144,11 +144,16 @@ public:
|
|||
// qint64 writeUnverifiedDatagram(const char* data, qint64 size, const SharedNodePointer& destinationNode,
|
||||
// const HifiSockAddr& overridenSockAddr = HifiSockAddr());
|
||||
//
|
||||
|
||||
|
||||
qint64 sendUnreliablePacket(const NLPacket& packet, const SharedNodePointer& destinationNode)
|
||||
{ assert(false); return 0; }
|
||||
qint64 sendUnreliablePacket(const NLPacket& packet, const HifiSockAddr& sockAddr)
|
||||
{ assert(false); return 0; }
|
||||
// TODO remove those
|
||||
qint64 sendUnreliablePacket(std::unique_ptr<NLPacket>& packet, const SharedNodePointer& destinationNode)
|
||||
{ assert(false); return 0; }
|
||||
{ assert(false); return 0; }
|
||||
qint64 sendUnreliablePacket(std::unique_ptr<NLPacket>& packet, const HifiSockAddr& sockAddr)
|
||||
{ assert(false); return 0; }
|
||||
{ assert(false); return 0; }
|
||||
|
||||
qint64 sendPacket(std::unique_ptr<NLPacket> packet, const SharedNodePointer& destinationNode)
|
||||
{ assert(false); return 0; }
|
||||
|
|
Loading…
Reference in a new issue