]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include: add utime_t ctor for ceph::coarse_real_time 24318/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 2 Oct 2018 19:31:09 +0000 (15:31 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 2 Oct 2018 19:52:35 +0000 (21:52 +0200)
commit2b1fb36517cca56e160304a60978c8ef007d6076
tree8f56d17f7c9dd882a35c61960b185f3ae1e750b6
parent4222eb610e2019bad89c8fb190358bef35905ec9
include: add utime_t ctor for ceph::coarse_real_time

this change differs from the upstream commit 61fb24883e812c11016acea0654f6aef7ddab1f7
because it relied on the std::void_t template, which isn't available in
c++11. just add another explicit constructor for coarse_real_time as a workaround

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/include/utime.h