diff --git a/libcxx/include/chrono b/libcxx/include/chrono --- a/libcxx/include/chrono +++ b/libcxx/include/chrono @@ -697,38 +697,38 @@ const zoned_time& y); // 25.10.8, leap second support // C++20 -class leap; +class leap_second; -bool operator==(const leap& x, const leap& y); -bool operator!=(const leap& x, const leap& y); -bool operator< (const leap& x, const leap& y); -bool operator> (const leap& x, const leap& y); -bool operator<=(const leap& x, const leap& y); -bool operator>=(const leap& x, const leap& y); +bool operator==(const leap_second& x, const leap_second& y); +bool operator!=(const leap_second& x, const leap_second& y); +bool operator< (const leap_second& x, const leap_second& y); +bool operator> (const leap_second& x, const leap_second& y); +bool operator<=(const leap_second& x, const leap_second& y); +bool operator>=(const leap_second& x, const leap_second& y); template - bool operator==(const leap& x, const sys_time& y); + bool operator==(const leap_second& x, const sys_time& y); template - bool operator==(const sys_time& x, const leap& y); + bool operator==(const sys_time& x, const leap_second& y); template - bool operator!=(const leap& x, const sys_time& y); + bool operator!=(const leap_second& x, const sys_time& y); template - bool operator!=(const sys_time& x, const leap& y); + bool operator!=(const sys_time& x, const leap_second& y); template - bool operator< (const leap& x, const sys_time& y); + bool operator< (const leap_second& x, const sys_time& y); template - bool operator< (const sys_time& x, const leap& y); + bool operator< (const sys_time& x, const leap_second& y); template - bool operator> (const leap& x, const sys_time& y); + bool operator> (const leap_second& x, const sys_time& y); template - bool operator> (const sys_time& x, const leap& y); + bool operator> (const sys_time& x, const leap_second& y); template - bool operator<=(const leap& x, const sys_time& y); + bool operator<=(const leap_second& x, const sys_time& y); template - bool operator<=(const sys_time& x, const leap& y); + bool operator<=(const sys_time& x, const leap_second& y); template - bool operator>=(const leap& x, const sys_time& y); + bool operator>=(const leap_second& x, const sys_time& y); template - bool operator>=(const sys_time& x, const leap& y); + bool operator>=(const sys_time& x, const leap_second& y); // 25.10.9, class link // C++20 class link;