Pārlūkot izejas kodu

added @:generic to cpp/FastIterator.hx

Simon Krajewski 13 gadi atpakaļ
vecāks
revīzija
c7286f20bc
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      std/cpp/FastIterator.hx

+ 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;