summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CommonAPI/MainLoopContext.h2
1 files changed, 1 insertions, 1 deletions
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::milliseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count();
}