Skip to content

Commit 523d22a

Browse files
committed
Left in an extraneous paren
1 parent 37c3bcb commit 523d22a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/optional

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ public:
640640
return std::__make_bounded_iter(
641641
std::__wrap_iter<__pointer>(__ptr),
642642
std::__wrap_iter<__pointer>(__ptr),
643-
std::__wrap_iter<__pointer>(__ptr) + (__derived_self.has_value() ? 1 : 0)));
643+
std::__wrap_iter<__pointer>(__ptr) + (__derived_self.has_value() ? 1 : 0));
644644
# else
645645
return iterator(__ptr);
646646
# endif
@@ -659,7 +659,7 @@ public:
659659
return std::__make_bounded_iter(
660660
std::__wrap_iter<__const_pointer>(__ptr),
661661
std::__wrap_iter<__const_pointer>(__ptr),
662-
std::__wrap_iter<__const_pointer>(__ptr) + (__derived_self.has_value() ? 1 : 0)));
662+
std::__wrap_iter<__const_pointer>(__ptr) + (__derived_self.has_value() ? 1 : 0));
663663
# else
664664
return const_iterator(__ptr);
665665
# endif

0 commit comments

Comments
 (0)