From: Samuel Just Date: Wed, 29 Sep 2021 00:11:49 +0000 (-0700) Subject: crimson/os/seastore/transaction: make for_each_fresh_block const X-Git-Tag: v17.1.0~780^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db389d6de771471c45f6ab00c3e208db4b316274;p=ceph.git crimson/os/seastore/transaction: make for_each_fresh_block const Signed-off-by: Samuel Just --- diff --git a/src/crimson/os/seastore/transaction.h b/src/crimson/os/seastore/transaction.h index 9b280ef4aa11..bed0f32e1c7f 100644 --- a/src/crimson/os/seastore/transaction.h +++ b/src/crimson/os/seastore/transaction.h @@ -180,7 +180,7 @@ public: } template - auto for_each_fresh_block(F &&f) { + auto for_each_fresh_block(F &&f) const { std::for_each(ool_block_list.begin(), ool_block_list.end(), f); std::for_each(inline_block_list.begin(), inline_block_list.end(), f); }