projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Nuke Future<void> (folly/futures)
[folly.git]
/
folly
/
futures
/
test
/
ContextTest.cpp
diff --git
a/folly/futures/test/ContextTest.cpp
b/folly/futures/test/ContextTest.cpp
index 487753aa75f7a5bd55b4aae179bc3616ab04eebc..1e09a3a13274b29ea5f547fb2ebdbc3500eabd9c 100644
(file)
--- a/
folly/futures/test/ContextTest.cpp
+++ b/
folly/futures/test/ContextTest.cpp
@@
-40,7
+40,7
@@
TEST(Context, basic) {
std::unique_ptr<TestData>(new TestData(10)));
// Start a future
- Promise<
void
> p;
+ Promise<
Unit
> p;
auto future = p.getFuture().then([&]{
// Check that the context followed the future
EXPECT_TRUE(RequestContext::get() != nullptr);