Fixed a mispelled name in utils::for_each_pre(...).

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@333 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-03-07 20:49:16 +00:00
parent 209581bd3f
commit f379abb200
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ for_each_pre(_InputIter __first, _InputIter __last, _Function __f) {
_InputIter __tmp;
while (__first != __last) {
__tmp = first++;
__tmp = __first++;
__f(*__tmp);
}
@@ -23,7 +23,7 @@ for_each_pre(_InputIter __first, _InputIter __last, _Function __f) {
// between __first and __last, centered on __middle1.
template <typename _InputIter, typename _Distance>
std::pair<_InputIter, _InputIter>
iterate_both_distance(_InputIter __first, _InputIter __middle1, _InputIter __last, _Distance __distance) {
advance_bidirectional(_InputIter __first, _InputIter __middle1, _InputIter __last, _Distance __distance) {
_InputIter __middle2 = __middle1;
do {