浏览代码

inline haxe.Timer.stamp (should be fine, right?)

Dan Korostelev 9 年之前
父节点
当前提交
e29f17aadd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/haxe/Timer.hx

+ 1 - 1
std/haxe/Timer.hx

@@ -166,7 +166,7 @@ class Timer {
 		The value itself might differ depending on platforms, only differences
 		between two values make sense.
 	**/
-	public static function stamp() : Float {
+	public static inline function stamp() : Float {
 		#if flash
 			return flash.Lib.getTimer() / 1000;
 		#elseif (neko || php)