Index: base/stl_util.h |
diff --git a/base/stl_util.h b/base/stl_util.h |
index bb775f3e8563c98fd326417029df7934caccca99..c7f51a79915dea3e1c625787f7a251b82329362d 100644 |
--- a/base/stl_util.h |
+++ b/base/stl_util.h |
@@ -155,18 +155,6 @@ class STLElementDeleter { |
T* container_; |
}; |
-// Given a pointer to an STL container this class will delete all the value |
-// pointers when it goes out of scope. |
-template<class T> |
-class STLValueDeleter { |
- public: |
- STLValueDeleter<T>(T* container) : container_(container) {} |
- ~STLValueDeleter<T>() { STLDeleteValues(container_); } |
- |
- private: |
- T* container_; |
-}; |
- |
// Test to see if a set, map, hash_set or hash_map contains a particular key. |
// Returns true if the key is in the collection. |
template <typename Collection, typename Key> |