You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/03/05 02:59:34 UTC
[trafficserver] 01/02: Don't use std::move when return
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 <ma...@apache.org>
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
maskit@apache.org.