mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-25 15:43:13 +03:00
Use appendToChain instead of deprecated name prependChain
Summary: See title Differential Revision: D74206613 fbshipit-source-id: b8acaaabe3de34f5e5af03e91455ccb342939c86
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a56be059b9
commit
469da60216
@@ -216,13 +216,13 @@ class ClientHandshakeTest : public Test, public boost::static_visitor<> {
|
||||
BufPtr getHandshakeWriteBytes() {
|
||||
auto buf = folly::IOBuf::create(0);
|
||||
if (!cryptoState->initialStream.writeBuffer.empty()) {
|
||||
buf->prependChain(cryptoState->initialStream.writeBuffer.move());
|
||||
buf->appendToChain(cryptoState->initialStream.writeBuffer.move());
|
||||
}
|
||||
if (!cryptoState->handshakeStream.writeBuffer.empty()) {
|
||||
buf->prependChain(cryptoState->handshakeStream.writeBuffer.move());
|
||||
buf->appendToChain(cryptoState->handshakeStream.writeBuffer.move());
|
||||
}
|
||||
if (!cryptoState->oneRttStream.writeBuffer.empty()) {
|
||||
buf->prependChain(cryptoState->oneRttStream.writeBuffer.move());
|
||||
buf->appendToChain(cryptoState->oneRttStream.writeBuffer.move());
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user