Skip to content

Commit 16d5977

Browse files
committed
Fix missing StringMap.clear
1 parent 94c97dd commit 16d5977

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

std/cxx/_std/haxe/ds/StringMap.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ class StringMap<T> implements haxe.Constraints.IMap<String, T> {
7474
return result + "]";
7575
}
7676

77+
public function clear(): Void {
78+
m.clear();
79+
}
80+
7781
#if haxe5
7882
public function size(): Int {
7983
return m.size();

0 commit comments

Comments
 (0)