From c3847683ede265c3b7e4bb03bc64a425ad6911ea Mon Sep 17 00:00:00 2001 From: Jie Yao Date: Fri, 27 Oct 2023 23:01:28 -0700 Subject: [PATCH] fix comments --- src/tests/test_meta_blk_mgr.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/tests/test_meta_blk_mgr.cpp b/src/tests/test_meta_blk_mgr.cpp index 817a43fb3..19cd40f72 100644 --- a/src/tests/test_meta_blk_mgr.cpp +++ b/src/tests/test_meta_blk_mgr.cpp @@ -589,7 +589,8 @@ class VMetaBlkMgrTest : public ::testing::Test { meta_sub_type subType(mblk->hdr.h.type); actual_cb_order.push_back(subType); }, - [this](bool success) { actual_on_complete_cb_order.push_back("A"); }, false, {"B", "C"}); + [this](bool success) { actual_on_complete_cb_order.push_back("A"); }, false, + std::optional< meta_subtype_vec_t >({"B", "C"})); m_mbm->register_handler( "B", @@ -597,7 +598,8 @@ class VMetaBlkMgrTest : public ::testing::Test { meta_sub_type subType(mblk->hdr.h.type); actual_cb_order.push_back(subType); }, - [this](bool success) { actual_on_complete_cb_order.push_back("B"); }, false, {"D", "E"}); + [this](bool success) { actual_on_complete_cb_order.push_back("B"); }, false, + std::optional< meta_subtype_vec_t >({"D", "E"})); m_mbm->register_handler( "C", @@ -605,7 +607,8 @@ class VMetaBlkMgrTest : public ::testing::Test { meta_sub_type subType(mblk->hdr.h.type); actual_cb_order.push_back(subType); }, - [this](bool success) { actual_on_complete_cb_order.push_back("C"); }, false, {"F"}); + [this](bool success) { actual_on_complete_cb_order.push_back("C"); }, false, + std::optional< meta_subtype_vec_t >({"F"})); m_mbm->register_handler( "D",