Codemod folly::make_unique to std::make_unique
[folly.git] / folly / futures / Future-inl.h
index b353ff81a411f932c28da12af08239ff7ba48e32..0e6c7e31c40f8e32f1205530844429a84044f203 100644 (file)
@@ -1190,7 +1190,7 @@ Future<Unit> whileDo(P&& predicate, F&& thunk) {
 template <class F>
 Future<Unit> times(const int n, F&& thunk) {
   return folly::whileDo(
-      [ n, count = folly::make_unique<std::atomic<int>>(0) ]() mutable {
+      [ n, count = std::make_unique<std::atomic<int>>(0) ]() mutable {
         return count->fetch_add(1) < n;
       },
       std::forward<F>(thunk));