]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
messages/MOSDPGInfo: add a ctor for moving pg_list
authorKefu Chai <kchai@redhat.com>
Mon, 25 Feb 2019 16:29:08 +0000 (00:29 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 16 Mar 2019 06:22:59 +0000 (14:22 +0800)
commitca7e68951dd007fb84a693d8e30bf2c1a4246b00
treec7aee973ced3225572f53b21bad04f7eed5393c2
parente9491eea196fbf25037a3fae8bb15d6d549410db
messages/MOSDPGInfo: add a ctor for moving pg_list

* use delegating constructor for less repeating
* add a constructor for movable pg_list parameter: less memcpy().

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