rm StringSetEq
This commit is contained in:
parent
f543340dfb
commit
610c38ee40
|
|
@ -22,11 +22,8 @@
|
||||||
namespace sta {
|
namespace sta {
|
||||||
|
|
||||||
typedef Set<const char*, CharPtrLess> StringSet;
|
typedef Set<const char*, CharPtrLess> StringSet;
|
||||||
typedef Set<const char*> StringSetEq;
|
|
||||||
|
|
||||||
void
|
void
|
||||||
deleteContents(StringSet *strings);
|
deleteContents(StringSet *strings);
|
||||||
void
|
|
||||||
deleteContents(StringSetEq *strings);
|
|
||||||
|
|
||||||
} // namespace
|
} // 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
|
} // namespace
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue