1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-08 09:42:06 +03:00

Updated files to change syntax.

Summary: Changed existing chrono syntax to chrono_literals syntax.

Reviewed By: mjoras, sharma95

Differential Revision: D15374649

fbshipit-source-id: 40033e90cca226266ef85e4fec629f290bc5dae6
This commit is contained in:
Bonnie Xu
2019-05-20 12:07:32 -07:00
committed by Facebook Github Bot
parent 595867c759
commit f4ae0a1efd
38 changed files with 294 additions and 442 deletions

View File

@@ -984,7 +984,7 @@ TEST_F(QuicTransportImplTest, ReadDataAlsoChecksLossAlarm) {
TEST_F(QuicTransportImplTest, LossTimeoutNoLessThanTickInterval) {
auto tickInterval = evb->timer().getTickInterval();
transport->scheduleLossTimeout(tickInterval - std::chrono::milliseconds(1));
transport->scheduleLossTimeout(tickInterval - 1ms);
EXPECT_NEAR(
tickInterval.count(),
transport->getLossTimeoutRemainingTime().count(),