Moved deleter to include/llvm/Tools/STLExtras.h

llvm-svn: 120
This commit is contained in:
Chris Lattner 2001-07-02 01:08:08 +00:00
parent d4e8817fd9
commit ec700533c1

View File

@ -14,8 +14,6 @@ using namespace cfg;
// IntervalPartition Implementation
//===----------------------------------------------------------------------===//
template <class T> static inline void deleter(T *Ptr) { delete Ptr; }
// Destructor - Free memory
IntervalPartition::~IntervalPartition() {
for_each(begin(), end(), deleter<cfg::Interval>);