]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/record_scanner: replace [=] capturing 58010/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 13 May 2024 07:14:40 +0000 (15:14 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 13 Jun 2024 12:19:44 +0000 (15:19 +0300)
commit024ba35b760f8f7bb857768429a2a2555e17b297
tree98e9077c36028110f16563da432acc798fe5330a
parent8068d81b8f8cb8f0568309051bfd549537347a30
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>
(cherry picked from commit 116c5b4894193124cde485091b9627ccf3cf73a0)
src/crimson/os/seastore/record_scanner.cc