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
This commit is contained in:
James Sedgwick
2015-04-27 16:40:18 -07:00
committed by Alecs King
parent d8cd7bc7a0
commit 0e46cb95c1
+1 -1
View 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();