git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
cb5f647
)
remove bogus clock variant check
author
Philipp Gesang
<philipp.gesang@intra2net.com>
Thu, 4 Apr 2019 14:35:47 +0000 (16:35 +0200)
committer
Philipp Gesang
<philipp.gesang@intra2net.com>
Thu, 4 Apr 2019 14:35:49 +0000 (16:35 +0200)
Spotted by Tom: There are no variants to CLOCK_BOOTTIME so
this would fall back on the default monotonic clock.
src/timefunc.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/timefunc.cpp
b/src/timefunc.cpp
index
88e6c33
..
b486de1
100644
(file)
--- a/
src/timefunc.cpp
+++ b/
src/timefunc.cpp
@@
-1055,9
+1055,7
@@
namespace clock {
}
case type::boot: {
- if (var & type::exact) {
- cid = CLOCK_BOOTTIME;
- }
+ cid = CLOCK_BOOTTIME;
break;
}