]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cls/rbd: define SnapshotNamespace's ctor using its parent
authorKefu Chai <tchaikov@gmail.com>
Mon, 7 Mar 2022 16:00:28 +0000 (00:00 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 9 Mar 2022 13:53:17 +0000 (21:53 +0800)
commitb04655645bb3cba7e5c538c1ef349aa81651a56f
tree93fd82b8c642ab93266691c65ac8e249647de942
parent4382062ba344d1803db5b8e41b072556187eeae0
cls/rbd: define SnapshotNamespace's ctor using its parent

simpler this way. also this prevent the compiler from trying to
convert a random value into SnapshotNamespace just because it
has a templated constructor when it tries to lookup a candidate
of operator<<(ostream&, Random value).

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/cls/rbd/cls_rbd_types.h