]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/crimson/seastore: declare return type explicitly 41672/head
authorKefu Chai <kchai@redhat.com>
Thu, 3 Jun 2021 07:32:20 +0000 (15:32 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 3 Jun 2021 07:37:34 +0000 (15:37 +0800)
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/crimson/seastore/test_btree_lba_manager.cc

index 11818bdfd057a580a36c8dbbad452e92ef26f2b5..c8d11da01b82511b27618248a80546c63a87b851 100644 (file)
@@ -56,7 +56,7 @@ struct btree_lba_manager_test :
   journal_seq_t get_journal_tail_target() const final { return journal_seq_t{}; }
   void update_journal_tail_committed(journal_seq_t committed) final {}
 
-  auto submit_transaction(TransactionRef t)
+  seastar::future<> submit_transaction(TransactionRef t)
   {
     auto record = cache.try_construct_record(*t);
     if (!record) {