]> git-server-git.apps.pok.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)
committerCasey Bodley <cbodley@redhat.com>
Tue, 8 May 2018 21:05:42 +0000 (17:05 -0400)
commit61fb24883e812c11016acea0654f6aef7ddab1f7
treef921faeb2974153a04ab386ff13279b8e3275f80
parent5c08f2cc49063053d98fa77b68bfd8fde28454b7
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>
src/include/utime.h