Nicolas Cannasse 14 년 전
부모
커밋
c880be1ba1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      std/neko/db/Types.hx

+ 2 - 2
std/neko/db/Types.hx

@@ -64,7 +64,7 @@ extern class SFlags<T> {
 	public inline static function ofInt<T>( i : Int ) : SFlags<T> {
 		return cast i;
 	}
-	public inline static function toInt( s : SFlags<Dynamic> ) : Int {
-		return cast s;
+	public inline function toInt() : Int {
+		return cast this;
 	}
 }