From bd4996ad689d150524aff299dfbbf3d337d1caf2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 2 Jul 2001 01:08:08 +0000 Subject: [PATCH] Moved deleter to include/llvm/Tools/STLExtras.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/IntervalPartition.cpp | 2 -- 1 file changed, 2 deletions(-) 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);