Skip to content

Commit

Permalink
Merge pull request #211 from tcbrindle/pr/fix-clang-19
Browse files Browse the repository at this point in the history
Bump version of libc++ C++20 chrono workaround
  • Loading branch information
tcbrindle authored Oct 31, 2024
2 parents bf97ba7 + d3e10c9 commit 998346a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/calendar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ constexpr auto col_sep = " ";
constexpr auto row_sep = ' ';

// Workaround: libc++18 does not support C++20 chrono::time_point::operator++
#if defined _LIBCPP_VERSION and _LIBCPP_VERSION < 190000
#if defined _LIBCPP_VERSION and _LIBCPP_VERSION < 200000
namespace std::chrono {
sys_days& operator++(sys_days& d) {
return d += days{1};
Expand Down

0 comments on commit 998346a

Please sign in to comment.