]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/Monitor: no need to create a local variable for capturing it 28744/head
authorKefu Chai <kchai@redhat.com>
Tue, 25 Jun 2019 13:05:58 +0000 (21:05 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 25 Jun 2019 14:42:26 +0000 (22:42 +0800)
commit7959e5075a989c53d1da5a944fc3bd5e6e3c226e
tree3eb8f14743061511c711b0674876ba60a593bfca
parent9d1548bec41dd62793b452a1848dc67d29bb1797
mon/Monitor: no need to create a local variable for capturing it

just capture `changed` by value would suffice.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/Monitor.cc