diff --git a/lib/Analysis/IntervalPartition.cpp b/lib/Analysis/IntervalPartition.cpp index 32936fd43d1..af6cea1627d 100644 --- a/lib/Analysis/IntervalPartition.cpp +++ b/lib/Analysis/IntervalPartition.cpp @@ -14,8 +14,6 @@ using namespace cfg; // IntervalPartition Implementation //===----------------------------------------------------------------------===// -template static inline void deleter(T *Ptr) { delete Ptr; } - // Destructor - Free memory IntervalPartition::~IntervalPartition() { for_each(begin(), end(), deleter);