diff --git a/src/storage/test/ChainTestUtils.h b/src/storage/test/ChainTestUtils.h index da819605d60..3559140602c 100644 --- a/src/storage/test/ChainTestUtils.h +++ b/src/storage/test/ChainTestUtils.h @@ -19,7 +19,8 @@ extern const int32_t mockSpaceVidLen; using KeyGenerator = std::function; -struct TransactionManagerTester { +class TransactionManagerTester { + public: explicit TransactionManagerTester(TransactionManager* p) : man_(p) {} void stop() {