diff options
author | Philip Rauwolf <rauwolf@itestra.de> | 2013-10-16 10:00:52 +0200 |
---|---|---|
committer | Philip Rauwolf <rauwolf@itestra.de> | 2013-10-16 10:01:03 +0200 |
commit | 1daaeca24864077c7a6a702f868291aca3f03463 (patch) | |
tree | fc78a93ca254f8682cae498fd652d66f83c18904 | |
parent | 42b8420985e461b29b8c9f2c576d616f6f0e78ac (diff) | |
download | genivi-common-api-runtime-1daaeca24864077c7a6a702f868291aca3f03463.tar.gz |
Made former static utility function in MainloopContext.h inline, added
micro version number checking to configure.ac, moved minor version
forward to next point release
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/CommonAPI/MainLoopContext.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9b23952..9f07088 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ(2.61) AC_INIT([GENIVI Common API C++ Library], - [2.0], + [2.0.4], [], [CommonAPI]) diff --git a/src/CommonAPI/MainLoopContext.h b/src/CommonAPI/MainLoopContext.h index 2178936..1ac9192 100644 --- a/src/CommonAPI/MainLoopContext.h +++ b/src/CommonAPI/MainLoopContext.h @@ -29,7 +29,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(); } |