X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Fio%2Fasync%2Ftest%2FEventBaseTest.cpp;fp=folly%2Fio%2Fasync%2Ftest%2FEventBaseTest.cpp;h=25b3192c1280751b497b8138b13d9ebadb58be58;hp=5ffa8da4920c0ada801e308bbac3b6ac9b6d0618;hb=5bb0e1da38dd1c5c9ef4619da8aad99ccfd30cf2;hpb=a9ade34fda9818c12b6aa0a187f1d6d0988ee905 diff --git a/folly/io/async/test/EventBaseTest.cpp b/folly/io/async/test/EventBaseTest.cpp index 5ffa8da4..25b3192c 100644 --- a/folly/io/async/test/EventBaseTest.cpp +++ b/folly/io/async/test/EventBaseTest.cpp @@ -1610,7 +1610,7 @@ TEST(EventBaseTest, IdleTime) { ASSERT_EQ(6, tos0.getTimeouts()); ASSERT_GE(6100, eventBase.getAvgLoopTime() - 1200); ASSERT_LE(6100, eventBase.getAvgLoopTime() + 1200); - tos.reset(new IdleTimeTimeoutSeries(&eventBase, timeouts)); + tos = std::make_unique(&eventBase, timeouts); }); // Kick things off with an "immedite" timeout