Procházet zdrojové kódy

added @:generic to cpp/FastIterator.hx

Simon Krajewski před 13 roky
rodič
revize
c7286f20bc
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      std/cpp/FastIterator.hx

+ 4 - 1
std/cpp/FastIterator.hx

@@ -1,6 +1,9 @@
 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 next():T;