Skip to content

Commit 40a3478

Browse files
committed
Go back to _FwdIt to stay consistent with incoming algorithms
1 parent 3343b6a commit 40a3478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stl/inc/vector

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2891,8 +2891,8 @@ _INLINE_VAR constexpr bool _Is_vb_iterator<_Vb_iterator<_Alloc>> = true;
28912891
template <class _Alloc>
28922892
_INLINE_VAR constexpr bool _Is_vb_iterator<_Vb_iterator<_Alloc>, false> = true;
28932893

2894-
template <class _Alloc, class _Ty>
2895-
_CONSTEXPR20 void _Fill_vbool(_Vb_iterator<_Alloc> _First, _Vb_iterator<_Alloc> _Last, const _Ty& _Val) {
2894+
template <class _FwdIt, class _Ty>
2895+
_CONSTEXPR20 void _Fill_vbool(_FwdIt _First, _FwdIt _Last, const _Ty& _Val) {
28962896
// Set [_First, _Last) to _Val
28972897
if (_First == _Last) {
28982898
return;

0 commit comments

Comments
 (0)