Kaynağa Gözat

make Math.round inline again

Simon Krajewski 11 yıl önce
ebeveyn
işleme
af0bb0885d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      std/python/_std/Math.hx

+ 1 - 1
std/python/_std/Math.hx

@@ -224,7 +224,7 @@ extern class Math
 		
 		TODO: need spec
 	**/
-	public static /*inline*/ function round(v:Float):Int {
+	public static inline function round(v:Float):Int {
 		return Math.floor(v + 0.5);
 	}