From 7bde7cb9f263c2009ce96af2e91959b4ca5c7021 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 19 Sep 2024 13:33:33 +0100 Subject: [PATCH] Fix copy&paste error in 3503 P/R --- xml/issue3503.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/issue3503.xml b/xml/issue3503.xml index 87f86d4b05..72ac97ae27 100644 --- a/xml/issue3503.xml +++ b/xml/issue3503.xml @@ -142,7 +142,7 @@ The least result `t` representable in `ToDuration` for which
auto t = duration_cast<ToDuration>(d);
 if constexpr (treat_as_floating_point_v<typename ToDuration::rep>)
   return t;
-else if (t <= d)
+else if (t >= d)
   return t;
 else
   return ++t;