Skip to content

Commit f6dfc16

Browse files
authored
Update Time.h
1 parent e22daf7 commit f6dfc16

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/tdme/utilities/Time.h

-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ class tdme::utilities::Time
2525
* @return int64_t
2626
*/
2727
inline static int64_t getCurrentMillis() {
28-
// TODO: check clock_gettime from time.h
29-
// struct timespec now;
30-
// clock_gettime(CLOCK_REALTIME, &now);
31-
// return (now.tv_sec * 1000L) + (now.tv_nsec / 1000000L);
3228
return high_resolution_clock::now().time_since_epoch() / milliseconds(1);
3329
}
3430

0 commit comments

Comments
 (0)