From 6d0f3cfe4b7a0db3eabb372ec44e0c0c6706aa5f Mon Sep 17 00:00:00 2001 From: Philip Rauwolf Date: Wed, 16 Oct 2013 10:38:22 +0200 Subject: Changed formerly static function to inline --- src/CommonAPI/MainLoopContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommonAPI/MainLoopContext.h b/src/CommonAPI/MainLoopContext.h index c651532..c988f9c 100644 --- a/src/CommonAPI/MainLoopContext.h +++ b/src/CommonAPI/MainLoopContext.h @@ -33,7 +33,7 @@ enum class DispatchPriority { }; -static int64_t getCurrentTimeInMs() { +inline int64_t getCurrentTimeInMs() { return std::chrono::duration_cast(std::chrono::high_resolution_clock::now().time_since_epoch()).count(); } -- cgit v1.2.1