2
0
Эх сурвалжийг харах

flash.Vector is only available on flash 10+ (closes #3195)

Simon Krajewski 11 жил өмнө
parent
commit
4fc07a7334
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      std/haxe/ds/Vector.hx

+ 1 - 1
std/haxe/ds/Vector.hx

@@ -54,7 +54,7 @@ abstract Vector<T>(VectorData<T>) {
 		If `length` is less than or equal to 0, the result is unspecified.
 	**/
 	public inline function new(length:Int) {
-		#if flash9
+		#if flash10
 			this = new flash.Vector<T>(length, true);
 		#elseif neko
 			this = untyped __dollar__amake(length);