We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8f110 commit 8cfdd0eCopy full SHA for 8cfdd0e
libc/src/__support/CPP/iterator.h
@@ -71,7 +71,7 @@ template <typename Iter> class reverse_iterator {
71
return lhs.base() <= rhs.base();
72
}
73
74
- LIBC_INLINE constexpr iterator_type base() const { current; }
+ LIBC_INLINE constexpr iterator_type base() const { return current; }
75
76
LIBC_INLINE constexpr reference operator*() const {
77
Iter tmp = current;
0 commit comments