Przeglądaj źródła

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

Simon Krajewski 11 lat temu
rodzic
commit
831a8f99db
1 zmienionych plików z 1 dodań i 1 usunięć
  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 { }