]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/seastar/include/seastar/core/transfer.hh
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / seastar / include / seastar / core / transfer.hh
index 14cd432e702bfe4492d47969f6f28ce1d3481dba..eb24db4061ff49959d85a84d1703a11343d286fc 100644 (file)
@@ -51,7 +51,7 @@ transfer_pass1(Alloc& a, T* from, T* to,
 template <typename T, typename Alloc>
 inline
 void
-transfer_pass2(Alloc& a, T* from, T* to,
+transfer_pass2(Alloc&, T*, T*,
         typename std::enable_if<std::is_nothrow_move_constructible<T>::value>::type* = nullptr) {
 }
 
@@ -66,7 +66,7 @@ transfer_pass1(Alloc& a, T* from, T* to,
 template <typename T, typename Alloc>
 inline
 void
-transfer_pass2(Alloc& a, T* from, T* to,
+transfer_pass2(Alloc& a, T* from, T*,
         typename std::enable_if<!std::is_nothrow_move_constructible<T>::value>::type* = nullptr) {
     std::allocator_traits<Alloc>::destroy(a, from);
 }