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/12 08:26:52 UTC
[trafficserver] branch quic-latest updated: Fix build warnings
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
The following commit(s) were added to refs/heads/quic-latest by this push:
new 9547456 Fix build warnings
9547456 is described below
commit 95474563255c9169ca71d1d3740ae3b38fc3e1d7
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Mon Mar 12 17:26:22 2018 +0900
Fix build warnings
---
iocore/net/quic/QUICPacket.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/iocore/net/quic/QUICPacket.h b/iocore/net/quic/QUICPacket.h
index be45b6e..6306955 100644
--- a/iocore/net/quic/QUICPacket.h
+++ b/iocore/net/quic/QUICPacket.h
@@ -161,7 +161,7 @@ class QUICPacketLongHeader : public QUICPacketHeader
{
public:
QUICPacketLongHeader() : QUICPacketHeader(){};
- ~QUICPacketLongHeader(){};
+ virtual ~QUICPacketLongHeader(){};
QUICPacketLongHeader(ats_unique_buf buf, size_t len, QUICPacketNumber base) : QUICPacketHeader(std::move(buf), len, base) {}
QUICPacketLongHeader(QUICPacketType type, QUICConnectionId connection_id, QUICPacketNumber packet_number,
QUICPacketNumber base_packet_number, QUICVersion version, ats_unique_buf buf, size_t len);
@@ -182,7 +182,7 @@ class QUICPacketShortHeader : public QUICPacketHeader
{
public:
QUICPacketShortHeader() : QUICPacketHeader(){};
- ~QUICPacketShortHeader(){};
+ virtual ~QUICPacketShortHeader(){};
QUICPacketShortHeader(ats_unique_buf buf, size_t len, QUICPacketNumber base) : QUICPacketHeader(std::move(buf), len, base) {}
QUICPacketShortHeader(QUICPacketType type, QUICKeyPhase key_phase, QUICPacketNumber packet_number,
QUICPacketNumber base_packet_number, ats_unique_buf buf, size_t len);
--
To stop receiving notification emails like this one, please contact
maskit@apache.org.