Kaynağa Gözat

[cpp] also fix the other maps while we're at it

Simon Krajewski 10 yıl önce
ebeveyn
işleme
c917229f7a

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

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

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

@@ -46,6 +46,7 @@ package haxe.ds;
 ")
 @:coreApi
 class ObjectMap<K:{},V> implements haxe.Constraints.IMap<K,V> {
+	@:ifFeature("haxe.ds.ObjectMap.*")
 	private var h : Dynamic;
 
 	public function new() : Void { }

+ 1 - 0
std/cpp/_std/haxe/ds/WeakMap.hx

@@ -44,6 +44,7 @@ package haxe.ds;
 ")
 @:coreApi
 class WeakMap<K:{},V> implements haxe.Constraints.IMap<K,V> {
+	@:ifFeature("haxe.ds.WeakMap.*")
 	private var h : Dynamic;
 
 	public function new() : Void { }