rm StringSetEq
This commit is contained in:
parent
f543340dfb
commit
610c38ee40
|
|
@ -22,11 +22,8 @@
|
|||
namespace sta {
|
||||
|
||||
typedef Set<const char*, CharPtrLess> StringSet;
|
||||
typedef Set<const char*> StringSetEq;
|
||||
|
||||
void
|
||||
deleteContents(StringSet *strings);
|
||||
void
|
||||
deleteContents(StringSetEq *strings);
|
||||
|
||||
} // namespace
|
||||
|
|
|
|||
|
|
@ -28,14 +28,4 @@ deleteContents(StringSet *strings)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
deleteContents(StringSetEq *strings)
|
||||
{
|
||||
StringSetEq::Iterator iter(strings);
|
||||
while (iter.hasNext()) {
|
||||
const char *string = iter.next();
|
||||
stringDelete(string);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
|||
Loading…
Reference in New Issue