]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
include/byteorder: add constructor for ceph_le
authorKefu Chai <kchai@redhat.com>
Wed, 10 Mar 2021 05:33:14 +0000 (13:33 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 10 Mar 2021 08:56:44 +0000 (16:56 +0800)
commita606fedf07f3f81f184c0dacc973eaa09f13ac2e
tree38f30b42b9b123ba025c9e470619001813657cf6
parent144e49052bdb2eacd9424115532fc4338801877b
include/byteorder: add constructor for ceph_le

so we can construct a ceph_le<> instance without using the init_le*()
helpers. this would improve the readability a little bit.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/byteorder.h