浏览代码

[cpp] keep IntMap.h if we keep the constructor (closes #3373)

Simon Krajewski 11 年之前
父节点
当前提交
831a8f99db
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/cpp/_std/haxe/ds/IntMap.hx

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

@@ -40,7 +40,7 @@ package haxe.ds;
 ")
 @:coreApi class IntMap<T> implements haxe.Constraints.IMap<Int,T> {
 
-	private var h : Dynamic;
+	@:ifFeature("haxe.ds.IntMap.new") private var h : Dynamic;
 
 	public function new() : Void { }