Commit e03495d
committed
crimson/.../shard_services.cc: pass by reference from do_with
Capturing the value passed by do_with by value causes later captures
by reference to be invalid past the lifetime of the lambda frame.
Fixes: https://tracker.ceph.com/issues/64513
Signed-off-by: Samuel Just <[email protected]>1 parent 4d430f6 commit e03495d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
811 | | - | |
| 811 | + | |
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| |||
0 commit comments