]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: do not capture dup variable
authorKefu Chai <kchai@redhat.com>
Tue, 15 Dec 2020 08:47:20 +0000 (16:47 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 15 Dec 2020 09:15:17 +0000 (17:15 +0800)
commit5b1b050750853136bdb3a7930c0511053fc695d7
treecc70a707c0dcbbc63a8f8be31417661a0a7a0978
parentfeea66b30b0fc6f14dc921edd041920bc89b2d60
crimson/osd: do not capture dup variable

first can be deduced by variable already captured, so store it as a
local variable. it's less expensive than storing it as a captured
variable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/replicated_recovery_backend.cc