#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 -2
View File
@@ -29,12 +29,11 @@ void
test(const std::string& in_fmt, const std::string& input,
const std::string& out_fmt, const std::string& output)
{
using namespace date;
std::istringstream in{input};
T t;
in >> parse(in_fmt, t);
assert(!in.fail());
auto s = format(out_fmt, t);
auto s = date::format(out_fmt, t);
assert(s == output);
}