| Index: base/stl_util.h
|
| diff --git a/base/stl_util.h b/base/stl_util.h
|
| index c7f51a79915dea3e1c625787f7a251b82329362d..29c82e6a36b97beabe5c0dee1066acc641bd30cd 100644
|
| --- a/base/stl_util.h
|
| +++ b/base/stl_util.h
|
| @@ -47,19 +47,6 @@ void STLDeleteContainerPointers(ForwardIterator begin, ForwardIterator end) {
|
| }
|
| }
|
|
|
| -// For a range within a container of pairs, calls delete (non-array version) on
|
| -// the FIRST item in the pairs.
|
| -// NOTE: Like STLDeleteContainerPointers, deleting behind the iterator.
|
| -template <class ForwardIterator>
|
| -void STLDeleteContainerPairFirstPointers(ForwardIterator begin,
|
| - ForwardIterator end) {
|
| - while (begin != end) {
|
| - ForwardIterator temp = begin;
|
| - ++begin;
|
| - delete temp->first;
|
| - }
|
| -}
|
| -
|
| // For a range within a container of pairs, calls delete.
|
| // NOTE: Like STLDeleteContainerPointers, deleting behind the iterator.
|
| // Deleting the value does not always invalidate the iterator, but it may
|
|
|