瀏覽代碼

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

Simon Krajewski 11 年之前
父節點
當前提交
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);