vector<pv::data::decode::Annotation> &dest,
uint64_t start_sample, uint64_t end_sample) const
{
- for (vector<Annotation>::const_iterator i = _annotations.begin();
- i != _annotations.end(); i++)
+ for (auto i = _annotations.cbegin(); i != _annotations.cend(); i++)
if ((*i).end_sample() > start_sample &&
(*i).start_sample() <= end_sample)
dest.push_back(*i);