From ebf112e2003469cebc0d96b4a6163f36a5077c48 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 19 Aug 2015 10:03:52 -0700 Subject: [PATCH] Replace NLPacketList::getSourceID() with const& return --- libraries/networking/src/NLPacketList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/networking/src/NLPacketList.h b/libraries/networking/src/NLPacketList.h index 4f3ba49d29..5391e49488 100644 --- a/libraries/networking/src/NLPacketList.h +++ b/libraries/networking/src/NLPacketList.h @@ -21,7 +21,7 @@ public: NLPacketList(PacketType packetType, QByteArray extendedHeader = QByteArray(), bool isReliable = false, bool isOrdered = false); NLPacketList(PacketList&& packetList); - QUuid getSourceID() const { return _sourceID; } + const QUuid& getSourceID() const { return _sourceID; } private: NLPacketList(const NLPacketList& other) = delete;