diff --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer index eb78c9c4c0acca..7409b51b1f96b4 100644 --- a/libcxx/include/__split_buffer +++ b/libcxx/include/__split_buffer @@ -230,7 +230,7 @@ __split_buffer<_Tp, _Allocator>::__construct_at_end(size_type __n, const_referen template template -__enable_if_t<__is_cpp17_input_iterator<_InputIter>::value && !__is_cpp17_forward_iterator<_InputIter>::value> +__enable_if_t<__is_exactly_cpp17_input_iterator<_InputIter>::value> __split_buffer<_Tp, _Allocator>::__construct_at_end(_InputIter __first, _InputIter __last) { __alloc_rr& __a = this->__alloc();