projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8cd7bc
)
remove unnecessary & deprecated activate() call
author
James Sedgwick
<jsedgwick@fb.com>
Wed, 15 Apr 2015 14:24:02 +0000
(07:24 -0700)
committer
Alecs 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
patch
|
blob
|
history
diff --git
a/folly/futures/test/ExecutorTest.cpp
b/folly/futures/test/ExecutorTest.cpp
index 87142f64d4483632f0eb70fe957ba1e7d6ea0cc3..832e135ce08dccfc6389b2432334862b34c73e31 100644
(file)
--- 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<void>().via(&x).
activate().
then([](){
+ auto f = Future<void>().via(&x).then([](){
return;
});
f.value();