]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Fix ranged-construct warning
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 7 Mar 2022 23:46:04 +0000 (18:46 -0500)
committerKefu Chai <tchaikov@gmail.com>
Tue, 22 Mar 2022 15:26:54 +0000 (23:26 +0800)
commitda789f40cb72eb126741e229f4b0906b6b6dff52
tree8c1c0357bfde1390f1c3b4ce1709acbe16b9156b
parent0e1dc03fc5c883b4ba156ab274f80bca36505404
mon: Fix ranged-construct warning

In the case of an uint32_t there's no benefit to a reference so just
remove the const and make the copy.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/mon/OSDMonitor.cc