Explorar o código

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

Dan Korostelev %!s(int64=9) %!d(string=hai) anos
pai
achega
e29f17aadd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)