Browse Source

weakKeys for Cpp too

Simon Krajewski 12 years ago
parent
commit
92471a8206
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/cpp/_std/haxe/ds/ObjectMap.hx

+ 1 - 1
std/cpp/_std/haxe/ds/ObjectMap.hx

@@ -26,7 +26,7 @@ class ObjectMap<K,V> {
    // TODO: Might need to add separate hash to keep track of references to keys
 	private var __Internal : IntMap<V>;
 
-	public function new() : Void {
+	public function new(?weakKeys:Bool = false) : Void {
 		__Internal = new IntMap<V>();
 	}