Index: compiled/StringMap.h |
=================================================================== |
--- a/compiled/StringMap.h |
+++ b/compiled/StringMap.h |
@@ -232,16 +232,21 @@ |
{ |
return const_iterator(&mBuckets[mBucketCount], &mBuckets[mBucketCount]); |
} |
size_type size() const |
{ |
return mEntryCount; |
} |
+ |
+ void clear() |
+ { |
+ resize(0); |
+ } |
}; |
struct StringSetEntry |
{ |
StringSetEntry() {} |
StringSetEntry(const String& key) |
: first(key) |
{ |