Skip to content

Commit 8cfdd0e

Browse files
committed
Add missing return statement
1 parent 0c8f110 commit 8cfdd0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/CPP/iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ template <typename Iter> class reverse_iterator {
7171
return lhs.base() <= rhs.base();
7272
}
7373

74-
LIBC_INLINE constexpr iterator_type base() const { current; }
74+
LIBC_INLINE constexpr iterator_type base() const { return current; }
7575

7676
LIBC_INLINE constexpr reference operator*() const {
7777
Iter tmp = current;

0 commit comments

Comments
 (0)