libstdc++: Remove unnecessary "& 1" from year_month_day_last::day()
commitb011535456396a6846ff24fb5b1baea8fe0a33b1
authorCassio Neri <cassio.neri@gmail.com>
Sat, 11 Nov 2023 16:44:58 +0000 (11 16:44 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 14 Nov 2023 22:32:08 +0000 (14 22:32 +0000)
treef59cc1d26193097d52eaad037b0962076ba90ee4
parent1c15303375f7089ff985b085ab877b11ebfbc4b7
libstdc++: Remove unnecessary "& 1" from year_month_day_last::day()

When year_month_day_last::day() was implemented, Dr. Matthias Kretz realised
that the operation "& 1" wasn't necessary but we did not patch it at that
time. This patch removes the unnecessary operation.

libstdc++-v3/ChangeLog:

* include/std/chrono (year_month_day_last::day): Remove &1.
libstdc++-v3/include/std/chrono