remove unnecessary & deprecated activate() call
authorJames Sedgwick <jsedgwick@fb.com>
Wed, 15 Apr 2015 14:24:02 +0000 (07:24 -0700)
committerAlecs King <int@fb.com>
Mon, 27 Apr 2015 23:40:18 +0000 (16:40 -0700)
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

index 87142f64d4483632f0eb70fe957ba1e7d6ea0cc3..832e135ce08dccfc6389b2432334862b34c73e31 100644 (file)
@@ -179,7 +179,7 @@ class CrappyExecutor : public Executor {
 TEST(Executor, CrappyExecutor) {
   CrappyExecutor x;
   try {
-    auto f = Future<void>().via(&x).activate().then([](){
+    auto f = Future<void>().via(&x).then([](){
       return;
     });
     f.value();