mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Remove unecessary move
This commit is contained in:
parent
5ee966261d
commit
ca575bee89
1 changed files with 3 additions and 3 deletions
|
@ -514,7 +514,7 @@ std::unique_ptr<NLPacket> LimitedNodeList::constructPingPacket(PingType_t pingTy
|
|||
pingPacket->writePrimitive(pingType);
|
||||
pingPacket->writePrimitive(usecTimestampNow());
|
||||
|
||||
return std::move(pingPacket);
|
||||
return pingPacket;
|
||||
}
|
||||
|
||||
std::unique_ptr<NLPacket> LimitedNodeList::constructPingReplyPacket(NLPacket& pingPacket) {
|
||||
|
@ -529,7 +529,7 @@ std::unique_ptr<NLPacket> LimitedNodeList::constructPingReplyPacket(NLPacket& pi
|
|||
replyPacket->writePrimitive(timeFromOriginalPing);
|
||||
replyPacket->writePrimitive(usecTimestampNow());
|
||||
|
||||
return std::move(replyPacket);
|
||||
return replyPacket;
|
||||
}
|
||||
|
||||
std::unique_ptr<NLPacket> LimitedNodeList::constructICEPingPacket(PingType_t pingType, const QUuid& iceID) {
|
||||
|
@ -539,7 +539,7 @@ std::unique_ptr<NLPacket> LimitedNodeList::constructICEPingPacket(PingType_t pin
|
|||
icePingPacket->write(iceID.toRfc4122());
|
||||
icePingPacket->writePrimitive(pingType);
|
||||
|
||||
return std::move(icePingPacket);
|
||||
return icePingPacket;
|
||||
}
|
||||
|
||||
std::unique_ptr<NLPacket> LimitedNodeList::constructICEPingReplyPacket(NLPacket& pingPacket, const QUuid& iceID) {
|
||||
|
|
Loading…
Reference in a new issue