#826 Build fix for ambiguity with >= libc++ 17

This commit is contained in:
Martin Zink authored and Howard Hinnant committed 2024-05-10 16:26:43 -04:00
1 parent 6b1c1b8b3a
commit 8a93211679
23 files changed
+127 -106

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ main()
{
using namespace date;
using namespace std::chrono;
using date::local_days, date::local_t, date::January, date::July, date::Sunday;
// self
{
@@ -191,6 +191,7 @@ main()
using namespace date;
using namespace std::chrono;
using sys_clock = std::chrono::system_clock;
using local_t = date::local_t;
//steady_clock (must be different that sys_clock)
static_assert(is_clock_castable<steady_clock, steady_clock>::value, "steady_clock -> steady_clock");