File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ namespace fc::vm::actor {
18
18
struct Actor {
19
19
ContentIdentifier code;
20
20
ContentIdentifier head;
21
- uint64_t nonce;
21
+ uint64_t nonce{} ;
22
22
BigInt balance;
23
23
};
24
24
Original file line number Diff line number Diff line change 7
7
8
8
namespace test {
9
9
10
+ BaseLevelDB_Test::BaseLevelDB_Test (const fs::path &path)
11
+ : BaseFS_Test(path) {}
12
+
10
13
void BaseLevelDB_Test::open () {
11
14
leveldb::Options options;
12
15
options.create_if_missing = true ;
@@ -20,9 +23,6 @@ namespace test {
20
23
ASSERT_TRUE (db_) << " BaseLevelDB_Test: db is nullptr" ;
21
24
}
22
25
23
- BaseLevelDB_Test::BaseLevelDB_Test (fs::path path)
24
- : BaseFS_Test(std::move(path)) {}
25
-
26
26
void BaseLevelDB_Test::SetUp () {
27
27
open ();
28
28
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace test {
15
15
struct BaseLevelDB_Test : public BaseFS_Test {
16
16
using LevelDB = fc::storage::LevelDB;
17
17
18
- BaseLevelDB_Test (fs::path path);
18
+ explicit BaseLevelDB_Test (const fs::path & path);
19
19
20
20
void open ();
21
21
You can’t perform that action at this time.
0 commit comments