Nuke Future<void> (folly/futures)
[folly.git] / folly / futures / test / ContextTest.cpp
index 487753aa75f7a5bd55b4aae179bc3616ab04eebc..1e09a3a13274b29ea5f547fb2ebdbc3500eabd9c 100644 (file)
@@ -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);