]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/record_scanner: replace [=] capturing 57434/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 13 May 2024 07:14:40 +0000 (15:14 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 13 May 2024 08:03:13 +0000 (16:03 +0800)
commit116c5b4894193124cde485091b9627ccf3cf73a0
tree6331d435a4f88f4ecbd4a8b4d7aea131cd6e943c
parent720f8e954cd9c4d6163a1fee379f1c286b4f5c7e
crimson/os/seastore/record_scanner: replace [=] capturing

Capturing with = is error prone and causes compile warning.

And it is wrong:
* cursor should be captured by reference
* mutable keyword is unnecessary

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/record_scanner.cc