提交 6587857d 编写于 作者: Z zouxiaohang

Merge pull request #12 from jxd134/master

a small modify in _uninitialized_fill_aux function
......@@ -58,8 +58,7 @@ namespace TinySTL{
template<class ForwardIterator, class T>
void _uninitialized_fill_aux(ForwardIterator first, ForwardIterator last,
const T& value, _false_type){
int i = 0;
for (; first != last; ++first, ++i){
for (; first != last; ++first){
construct(first, value);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册