cmLinkedTree: Add Clear API.

This commit is contained in:
Stephen Kelly 2015-06-14 01:38:57 +02:00
parent 348354333a
commit 65a5e0c671
1 changed files with 6 additions and 0 deletions

View File

@ -155,6 +155,12 @@ public:
return iterator(this, 1);
}
void Clear()
{
this->UpPositions.clear();
this->Data.clear();
}
private:
T& GetReference(PositionType pos)
{