From 0e46cb95c1f764bdbf27716be873f7e1404f25bc Mon Sep 17 00:00:00 2001 From: James Sedgwick Date: Wed, 15 Apr 2015 07:24:02 -0700 Subject: [PATCH] remove unnecessary & deprecated activate() call Summary: let's not do this to ourselves :) Test Plan: unit Reviewed By: yfeldblum@fb.com Subscribers: folly-diffs@, jsedgwick, yfeldblum, chalfant FB internal diff: D1993491 Signature: t1:1993491:1429063112:b8664b365ad12fa4b51e9bd7fde9e4d197dbc648 --- folly/futures/test/ExecutorTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/futures/test/ExecutorTest.cpp b/folly/futures/test/ExecutorTest.cpp index 87142f64..832e135c 100644 --- a/folly/futures/test/ExecutorTest.cpp +++ b/folly/futures/test/ExecutorTest.cpp @@ -179,7 +179,7 @@ class CrappyExecutor : public Executor { TEST(Executor, CrappyExecutor) { CrappyExecutor x; try { - auto f = Future().via(&x).activate().then([](){ + auto f = Future().via(&x).then([](){ return; }); f.value(); -- 2.34.1