Selaa lähdekoodia

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

Dan Korostelev 9 vuotta sitten
vanhempi
commit
e29f17aadd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)