]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
encoding: add overloads for chrono durations
authorCasey Bodley <cbodley@redhat.com>
Tue, 8 May 2018 19:07:43 +0000 (15:07 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 8 May 2018 21:05:42 +0000 (17:05 -0400)
commit5c08f2cc49063053d98fa77b68bfd8fde28454b7
treee5f353c6a34964976714d83f2598d98b0a1a1154
parent427655e39180640fb1de56cef13c4ed8c34fa3bb
encoding: add overloads for chrono durations

std::chrono::durations can be encoded in the same format as time_points
and utime_t

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/include/encoding.h
src/test/encoding/test_ceph_time.h
src/test/encoding/types.h