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 f574354 Fix compile warning on Fedora29
f574354 is described below
commit f574354d0035d0094e3939a942a5e08c8bbc5d97
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Feb 25 11:11:14 2019 +0900
Fix compile warning on Fedora29
---
iocore/net/quic/QUICFrame.cc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/iocore/net/quic/QUICFrame.cc b/iocore/net/quic/QUICFrame.cc
index f0fc83a..c092429 100644
--- a/iocore/net/quic/QUICFrame.cc
+++ b/iocore/net/quic/QUICFrame.cc
@@ -139,7 +139,8 @@ QUICStreamFrame::QUICStreamFrame(const uint8_t *buf, size_t
len)
}
QUICStreamFrame::QUICStreamFrame(const QUICStreamFrame &o)
- : _block(make_ptr<IOBufferBlock>(o._block->clone())),
+ : QUICFrame(o),
+ _block(make_ptr<IOBufferBlock>(o._block->clone())),
_stream_id(o._stream_id),
_offset(o._offset),
_fin(o._fin),
@@ -371,7 +372,8 @@ QUICCryptoFrame::QUICCryptoFrame(const uint8_t *buf, size_t
len)
this->parse(buf, len);
}
-QUICCryptoFrame::QUICCryptoFrame(const QUICCryptoFrame &o) :
_offset(o._offset), _block(make_ptr<IOBufferBlock>(o._block->clone()))
+QUICCryptoFrame::QUICCryptoFrame(const QUICCryptoFrame &o)
+ : QUICFrame(o), _offset(o._offset),
_block(make_ptr<IOBufferBlock>(o._block->clone()))
{
}