summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Rauwolf <rauwolf@itestra.de>2013-10-16 10:38:22 +0200
committerPhilip Rauwolf <rauwolf@itestra.de>2013-10-16 10:38:22 +0200
commit6d0f3cfe4b7a0db3eabb372ec44e0c0c6706aa5f (patch)
tree36af6702e15842dd94c364eebb03d20df5216f6f
parent34a4f53294f5d699d91e9ce700184a367f2d40a6 (diff)
downloadgenivi-common-api-runtime-6d0f3cfe4b7a0db3eabb372ec44e0c0c6706aa5f.tar.gz
Changed formerly static function to inline
-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();
}