]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
include: utime_t can convert from ceph::coarse_real_time
authorCasey Bodley <cbodley@redhat.com>
Tue, 8 May 2018 17:04:17 +0000 (13:04 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 2 Oct 2018 17:20:00 +0000 (19:20 +0200)
commitd01ba804818f17a9aa9b93667b881fadc56cb5a7
tree0822e80fd0d5ff3cb7097026d5ee216f6c34ca8b
parent94d1155e8ac667ebf2ffa47c063410c4b051cdfe
include: utime_t can convert from ceph::coarse_real_time

instead of accepting ceph::real_time directly, the converting
constructor takes a std::chrono::time_point<Clock>, constrained to
clocks that support timespec conversions. this currently just means
ceph::real_time and ceph::coarse_real_time

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 61fb24883e812c11016acea0654f6aef7ddab1f7)
src/include/utime.h