mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Moved deleter to include/llvm/Tools/STLExtras.h
llvm-svn: 120
This commit is contained in:
parent
d4e8817fd9
commit
ec700533c1
@ -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>);
|
||||
|
Loading…
Reference in New Issue
Block a user