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

added @:generic to cpp/FastIterator.hx

Simon Krajewski 13 жил өмнө
parent
commit
c7286f20bc

+ 4 - 1
std/cpp/FastIterator.hx

@@ -1,6 +1,9 @@
 package cpp;
 package cpp;
 
 
-extern class FastIterator<T> implements haxe.rtti.Generic
+#if haxe3
+@:generic
+#end
+extern class FastIterator<T> #if !haxe3 implements haxe.rtti.Generic #end
 {
 {
 	public function hasNext():Bool;
 	public function hasNext():Bool;
 	public function next():T;
 	public function next():T;