exception_ptr -> exception_wrapper migration
[folly.git] / folly / wangle / futures / test / FutureTest.cpp
index 07f24621da0fa860da7a91a240f3e7412a9796da..939ff2eb4f9453a1bd65953e72251cf3137f3a00 100644 (file)
@@ -500,7 +500,7 @@ TEST(Promise, setException) {
     try {
       throw eggs;
     } catch (...) {
-      p.setException(std::current_exception());
+      p.setException(exception_wrapper(std::current_exception()));
     }
     EXPECT_THROW(f.value(), eggs_t);
   }