浏览代码

weakKeys for Cpp too

Simon Krajewski 12 年之前
父节点
当前提交
92471a8206
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>();
 	}