clean up std::iterator in LibcBenchmark.h

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D135540
This commit is contained in:
Schrodinger ZHU Yifan 2022-10-23 10:30:37 +00:00 committed by Guillaume Chatelet
parent 6abea7a17e
commit 12c62a6718
1 changed files with 2 additions and 2 deletions

View File

@ -272,8 +272,8 @@ public:
using difference_type = ssize_t;
using size_type = size_t;
class const_iterator
: public std::iterator<std::input_iterator_tag, T, ssize_t> {
class const_iterator {
using iterator_category = std::input_iterator_tag;
llvm::ArrayRef<T> Array;
size_t Index;
size_t Offset;