ancestors::new -> default (#17195)

This commit is contained in:
Jeff Washington (jwash)
2021-05-14 15:20:59 -05:00
committed by GitHub
parent 3f0480d060
commit fd88db7339
2 changed files with 8 additions and 8 deletions

View File

@@ -238,7 +238,7 @@ fn bench_concurrent_read_write(bencher: &mut Bencher) {
let i = rng.gen_range(0, pubkeys.len());
test::black_box(
accounts
.load_without_fixed_root(&Ancestors::new(), &pubkeys[i])
.load_without_fixed_root(&Ancestors::default(), &pubkeys[i])
.unwrap(),
);
}