projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove unnecessary & deprecated activate() call
[folly.git]
/
folly
/
futures
/
test
/
ExecutorTest.cpp
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();