Disambiguate the various in_place overloads, following C++17
[folly.git] / folly / ExceptionWrapper.h
index 3a2ff7179ca2ac5239b09fb9c0a36091ed935be9..8016168e2bb3789fe9c04099fd014ccb396a3ac2 100644 (file)
@@ -604,7 +604,7 @@ constexpr exception_wrapper::VTable exception_wrapper::InPlace<Ex>::ops_;
  */
 template <class Ex, typename... As>
 exception_wrapper make_exception_wrapper(As&&... as) {
-  return exception_wrapper{in_place<Ex>, std::forward<As>(as)...};
+  return exception_wrapper{in_place_type<Ex>, std::forward<As>(as)...};
 }
 
 /**