mesa: Add string_to_uint_map::clear method to clear the map

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
Ian Romanick 2011-10-11 15:25:00 -07:00
parent 295e07ef51
commit 017346f403

View file

@ -213,6 +213,14 @@ public:
hash_table_dtor(this->ht);
}
/**
* Remove all mappings from this map.
*/
void clear()
{
hash_table_clear(this->ht);
}
/**
* Get the value associated with a particular key
*