]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/seastore/transaction: make for_each_fresh_block const
authorSamuel Just <sjust@redhat.com>
Wed, 29 Sep 2021 00:11:49 +0000 (17:11 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 29 Sep 2021 00:11:49 +0000 (17:11 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/transaction.h

index 9b280ef4aa11e41eac2ccb08d558620cbf0c1385..bed0f32e1c7f4520986ea4c7f31c6cfff13c33b8 100644 (file)
@@ -180,7 +180,7 @@ public:
   }
 
   template <typename F>
-  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);
   }