Skip to content

Commit 0569304

Browse files
authored
Replaces bare Arc::default() in CacheHashData::new() (solana-labs#35017)
1 parent b3ea62f commit 0569304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accounts-db/src/cache_hash_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ impl CacheHashData {
214214
cache_dir,
215215
pre_existing_cache_files: Arc::new(Mutex::new(HashSet::default())),
216216
deletion_policy,
217-
stats: Arc::default(),
217+
stats: Arc::new(CacheHashDataStats::default()),
218218
};
219219

220220
result.get_cache_files();

0 commit comments

Comments
 (0)