aboutsummaryrefslogtreecommitdiff
path: root/butl/string-table
diff options
context:
space:
mode:
Diffstat (limited to 'butl/string-table')
-rw-r--r--butl/string-table3
1 files changed, 3 insertions, 0 deletions
diff --git a/butl/string-table b/butl/string-table
index e36ba08..b21c951 100644
--- a/butl/string-table
+++ b/butl/string-table
@@ -70,6 +70,9 @@ namespace butl
bool
empty () const {return vec_.empty ();}
+ void
+ clear () {vec_.clear (); map_.clear ();}
+
private:
using key_type = butl::map_key<std::string>;
using value_type = string_table_element<I, D>;