summarylogtreecommitdiffstats
path: root/ConnectionManager.h.patch
blob: 3eabc695fedcf96dbb28b31e51fc990f15a8777d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ConnectionManager.h~	2015-08-26 21:59:31.000000000 +0100
+++ ConnectionManager.h	2015-12-27 21:02:33.560000000 +0000
@@ -60,8 +60,8 @@
    */
   template<typename... Args>
   static UniquePtr makeUnique(Args&&... args) {
-    return folly::make_unique<ConnectionManager, Destructor>(
-      std::forward<Args>(args)...);
+     return std::unique_ptr<ConnectionManager, Destructor>(
+       new ConnectionManager(std::forward<Args>(args)...));
   }
 
   /**