]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os: do not capture labels
authorKefu Chai <kchai@redhat.com>
Fri, 30 Jul 2021 05:40:09 +0000 (13:40 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 30 Jul 2021 06:58:00 +0000 (14:58 +0800)
commit79f0a2b5c64d3865e0d569eab6c253b0e81f43db
tree6c780711f8f6ad59d6b4c4d799aa5e30054f9d8a
parent59144a3fd0f590924185eb3c6644a4cb0c0db54a
crimson/os: do not capture labels

structured binding does not define variables, so we cannot capture them
without defining variables in capture list.

in this change, instead of using a map<> for defining labels, just
create labels on the fly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/seastore.cc