Permalink
Browse files

Fixed strange bug in LLVM.

  • Loading branch information...
1 parent 8491ba4 commit e133c7ae20bbef71c029dff1a5bb02afef5cb931 Konstantin Tokarev committed Sep 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/rw/_iterbase.h
View
@@ -299,7 +299,7 @@ inline void __distance (const _InputIterator &__first,
_Distance &__n,
input_iterator_tag)
{
- for (_InputIterator __it = __first; !(__it == __last); ++__it)
+ for (_InputIterator __it = __first; __it != __last; ++__it)
++__n;
}

0 comments on commit e133c7a

Please sign in to comment.