summarylogtreecommitdiffstats
path: root/ConnectionManager.h.patch
diff options
context:
space:
mode:
authorDaichi Shinozaki2015-12-27 21:13:51 +0000
committerDaichi Shinozaki2015-12-27 21:13:51 +0000
commit595f8887d6407e2fbacb5ea368e22d4daac9ae93 (patch)
treeaf331ed34151889e0ccad3834fd4e1e6e202cdcc /ConnectionManager.h.patch
parent38875a1bbc48971be1c06d028b5aee81131a9f49 (diff)
downloadaur-595f8887d6407e2fbacb5ea368e22d4daac9ae93.tar.gz
Build fail with gcc 5.3, patches applied.
Diffstat (limited to 'ConnectionManager.h.patch')
-rw-r--r--ConnectionManager.h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ConnectionManager.h.patch b/ConnectionManager.h.patch
new file mode 100644
index 000000000000..3eabc695fedc
--- /dev/null
+++ b/ConnectionManager.h.patch
@@ -0,0 +1,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)...));
+ }
+
+ /**