]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: make librbd::Image moveable 56801/head
authorAnatoly Scheglov <finch@mts.ru>
Tue, 9 Apr 2024 22:13:34 +0000 (01:13 +0300)
committerAnatoly Scheglov <finch@mts.ru>
Thu, 11 Apr 2024 22:52:21 +0000 (01:52 +0300)
commit36818ed2f75015da5726a354d3684c685606c07c
tree831e88610edc6e4d2daada1dc0746b75390d7be4
parent84129cd982da777fb1296bb0da16959c5ffd32a2
librbd: make librbd::Image moveable

Adds move constructor and move assignment operator to the librbd::Image.
Also marks copy ctor/assign op as deleted, and makes them public for better compiler diagnostics.

Signed-off-by: Anatoly Scheglov <finch@mts.ru>
src/include/rbd/librbd.hpp
src/librbd/librbd.cc