Skip to content

Commit

Permalink
Fix tperf on Windows
Browse files Browse the repository at this point in the history
Summary: Fix tperf on Windows

Reviewed By: mjoras

Differential Revision: D45276669

fbshipit-source-id: bdac8ad15495d48234f8c071b41cb809ea9dc5e8
  • Loading branch information
kvtsoy authored and facebook-github-bot committed Apr 25, 2023
1 parent 97529a5 commit 9ceb779
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions quic/common/test/TestPacketBuilders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,11 @@ RegularQuicPacketBuilder::Packet AckPacketBuilder::build() && {
WriteAckFrameState ackState;
ackState.acks = *CHECK_NOTNULL(maybeAckBlocks.get_pointer());
WriteAckFrameMetaData ackData = {
.ackState = ackState,
.ackDelay = *CHECK_NOTNULL(maybeAckDelay.get_pointer()),
.ackDelayExponent = static_cast<uint8_t>(
CHECK_NOTNULL(dstConn)->transportSettings.ackDelayExponent)};
ackState,
*CHECK_NOTNULL(maybeAckDelay.get_pointer()),
static_cast<uint8_t>(
CHECK_NOTNULL(dstConn)->transportSettings.ackDelayExponent),
TimePoint()};
writeAckFrame(ackData, builder);
return std::move(builder).buildPacket();
}
Expand Down

0 comments on commit 9ceb779

Please sign in to comment.