]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/interval_set.h: add move_into() and new ctor
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Tue, 18 Apr 2017 11:46:11 +0000 (13:46 +0200)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Thu, 20 Apr 2017 15:18:54 +0000 (17:18 +0200)
commitdcd1687562c08a4babb4e145f605492da31ab7f6
treed29bf17a8b81e0da88bdf3713894083c54d0afb9
parent0011127604334e98364af0676273a64f65cb9492
common/interval_set.h: add move_into() and new ctor

move_into() will be used to move data from internal (private)
std::map into other, external std::map, without exposing internal one
to public. New ctor improves moving data from external map to internal
one.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/include/interval_set.h