File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1749,14 +1749,14 @@ public:
1749
1749
year () = default ;
1750
1750
explicit inline constexpr year (int __val) noexcept : __y(static_cast <short >(__val)) {}
1751
1751
1752
- inline constexpr year& operator ++() noexcept { ++__y; return *this ; };
1753
- inline constexpr year operator ++(int ) noexcept { year __tmp = *this ; ++(*this ); return __tmp; };
1754
- inline constexpr year& operator --() noexcept { --__y; return *this ; };
1755
- inline constexpr year operator --(int ) noexcept { year __tmp = *this ; --(*this ); return __tmp; };
1752
+ inline constexpr year& operator ++() noexcept { ++__y; return *this ; }
1753
+ inline constexpr year operator ++(int ) noexcept { year __tmp = *this ; ++(*this ); return __tmp; }
1754
+ inline constexpr year& operator --() noexcept { --__y; return *this ; }
1755
+ inline constexpr year operator --(int ) noexcept { year __tmp = *this ; --(*this ); return __tmp; }
1756
1756
constexpr year& operator +=(const years& __dy) noexcept ;
1757
1757
constexpr year& operator -=(const years& __dy) noexcept ;
1758
1758
inline constexpr year operator +() const noexcept { return *this ; }
1759
- inline constexpr year operator -() const noexcept { return year{-__y}; };
1759
+ inline constexpr year operator -() const noexcept { return year{-__y}; }
1760
1760
1761
1761
inline constexpr bool is_leap () const noexcept { return __y % 4 == 0 && (__y % 100 != 0 || __y % 400 == 0 ); }
1762
1762
explicit inline constexpr operator int () const noexcept { return __y; }
You can’t perform that action at this time.
0 commit comments