include/am-hashmap.h
changeset 9 4cd655ff4c2c
parent 8 73549b7f37f5
child 10 0ac292cc1467
     1.1 --- a/include/am-hashmap.h	Sat Aug 24 01:31:41 2013 -0700
     1.2 +++ b/include/am-hashmap.h	Sat Aug 24 02:36:11 2013 -0700
     1.3 @@ -131,6 +131,10 @@
     1.4      return table_.add(i);
     1.5    }
     1.6  
     1.7 +  void clear() {
     1.8 +    table_.clear();
     1.9 +  }
    1.10 +
    1.11    size_t estimateMemoryUse() const {
    1.12      return table_.estimateMemoryUse();
    1.13    }