projects
/
profile
/
ivi
/
common-api-runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a4f53
)
Changed formerly static function to inline
author
Philip Rauwolf
<rauwolf@itestra.de>
Wed, 16 Oct 2013 08:38:22 +0000
(10:38 +0200)
committer
Philip Rauwolf
<rauwolf@itestra.de>
Wed, 16 Oct 2013 08:38:22 +0000
(10:38 +0200)
src/CommonAPI/MainLoopContext.h
patch
|
blob
|
history
diff --git
a/src/CommonAPI/MainLoopContext.h
b/src/CommonAPI/MainLoopContext.h
index
c651532
..
c988f9c
100644
(file)
--- 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();
}