X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Fcompute%2Fiterator%2Fbuffer_iterator.hpp;h=c456506a4d6aa8b05a8187a8f0e3b1a2c0e84d42;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=de2395a5529f67f81fff9b1a61423698f07895a5;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/boost/compute/iterator/buffer_iterator.hpp b/ceph/src/boost/boost/compute/iterator/buffer_iterator.hpp index de2395a55..c456506a4 100644 --- a/ceph/src/boost/boost/compute/iterator/buffer_iterator.hpp +++ b/ceph/src/boost/boost/compute/iterator/buffer_iterator.hpp @@ -65,6 +65,14 @@ struct buffer_iterator_index_expr { } + buffer_iterator_index_expr(const buffer_iterator_index_expr& other) + : m_buffer(other.m_buffer.get(), false), + m_index(other.m_index), + m_address_space(other.m_address_space), + m_expr(other.m_expr) + { + } + ~buffer_iterator_index_expr() { // set buffer to null so that its reference count will