Fix building with clang.
authorBernd Zeimetz <bzed@debian.org>
Tue, 21 Jan 2020 20:21:17 +0000 (20:21 +0000)
committerBernd Zeimetz <bzed@debian.org>
Tue, 21 Jan 2020 20:21:17 +0000 (20:21 +0000)
Forwarded: yes

 https://tracker.ceph.com/issues/43437

Gbp-Pq: Name fix-clang-build.patch

src/rgw/rgw_rest_conn.h

index 82047d24e5770f6ae2444a84391a6aea4c921cc4..9a210292b2422ea314c2b609fca295f2f0c7e236 100644 (file)
@@ -438,7 +438,7 @@ public:
   int wait(T *dest, E *err_result = nullptr);
 };
 
-template <class T, class E=int>
+template <class T, class E>
 int RGWRESTSendResource::wait(T *dest, E *err_result)
 {
   int ret = req.wait();