forked from OSchip/llvm-project
Fix a warning due to signed/unsigned comparison.
llvm-svn: 297639
This commit is contained in:
parent
f8435a9bda
commit
e677a92241
|
@ -1031,7 +1031,7 @@ public:
|
|||
const result_type &operator*() const { return Result; }
|
||||
|
||||
enumerator_iter<R> &operator++() {
|
||||
assert(Result.Index != -1);
|
||||
assert(Result.Index != size_t(-1));
|
||||
++Result.Iter;
|
||||
++Result.Index;
|
||||
return *this;
|
||||
|
|
Loading…
Reference in New Issue