Skip to content

Commit d331c58

Browse files
otfacebook-github-bot
authored andcommitted
Remove usages of IOBufQueue::clear()
Summary: Drop all the remaining instances of `IOBufQueue::clear()`. (Note: this ignores all push blocking failures!) Reviewed By: yfeldblum Differential Revision: D32941992 fbshipit-source-id: c7d983e215a78014ffda74a944b628e1886c35c8
1 parent 2f53453 commit d331c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fizz/server/test/FizzServerTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ TEST_F(FizzServerTest, TestSSLV2AfterData) {
126126
return AsyncActions(Actions());
127127
}));
128128
fizzServer_->fizzServer_.newTransportData();
129-
fizzServer_->queue_.clear();
129+
fizzServer_->queue_.reset();
130130
fizzServer_->queue_.append(getV2ClientHello());
131131
EXPECT_CALL(
132132
*MockServerStateMachineInstance::instance, _processSocketData(_, _, _))

0 commit comments

Comments
 (0)