This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 9fa21b09e8f643b8b8f6cfbcdbaaef77b0db00ce
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Mar 5 11:58:42 2018 +0900

    Don't use std::move when return
---
 iocore/net/quic/QUICPacket.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/quic/QUICPacket.cc b/iocore/net/quic/QUICPacket.cc
index a76d068..62cfa17 100644
--- a/iocore/net/quic/QUICPacket.cc
+++ b/iocore/net/quic/QUICPacket.cc
@@ -74,7 +74,7 @@ QUICPacketHeader::load(const uint8_t *buf, size_t len, 
QUICPacketNumber base)
     new (short_header) QUICPacketShortHeader(buf, len, base);
     header = QUICPacketHeaderUPtr(short_header, 
&QUICPacketHeaderDeleter::delete_short_header);
   }
-  return std::move(header);
+  return header;
 }
 
 QUICPacketHeaderUPtr

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to