fix deprecation warning in bench (#9823)
# Objective - Fix deprecation warning when running benches. ## Solution - iter -> read
This commit is contained in:
parent
e1904bcba1
commit
c61faf35b8
@ -18,7 +18,7 @@ impl<const SIZE: usize> Benchmark<SIZE> {
|
||||
|
||||
pub fn run(&mut self) {
|
||||
let mut reader = self.0.get_reader();
|
||||
for evt in reader.iter(&self.0) {
|
||||
for evt in reader.read(&self.0) {
|
||||
std::hint::black_box(evt);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user