From 17d6a993fc17d533460c5f40f3908c708e057c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 18:45:17 +0200 Subject: Merging upstream version 18.2.3. Signed-off-by: Daniel Baumann --- src/common/ceph_time.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/ceph_time.h') diff --git a/src/common/ceph_time.h b/src/common/ceph_time.h index 292fa91ac..fc96a80a7 100644 --- a/src/common/ceph_time.h +++ b/src/common/ceph_time.h @@ -528,6 +528,9 @@ struct converts_to_timespec constexpr bool converts_to_timespec_v = converts_to_timespec::value; +template +concept clock_with_timespec = converts_to_timespec_v; + template static Rep to_seconds(T t) { return std::chrono::duration_cast< -- cgit v1.2.3