mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 00:14:07 +08:00
Fix C++11 constexpr bug in year_lastweek_weekday::weeknum()
This commit is contained in:
parent
887d7574b1
commit
27964fa642
@ -343,7 +343,7 @@ public:
|
||||
year_lastweek_weekday& operator-=(const years& y) NOEXCEPT;
|
||||
|
||||
CONSTCD11 iso_week::year year() const NOEXCEPT;
|
||||
CONSTCD11 iso_week::weeknum weeknum() const NOEXCEPT;
|
||||
CONSTCD14 iso_week::weeknum weeknum() const NOEXCEPT;
|
||||
CONSTCD11 iso_week::weekday weekday() const NOEXCEPT;
|
||||
|
||||
CONSTCD14 operator sys_days() const NOEXCEPT;
|
||||
@ -1299,7 +1299,7 @@ year_lastweek_weekday::operator-=(const years& y) NOEXCEPT
|
||||
|
||||
CONSTCD11 inline year year_lastweek_weekday::year() const NOEXCEPT {return y_;}
|
||||
|
||||
CONSTCD11
|
||||
CONSTCD14
|
||||
inline
|
||||
weeknum
|
||||
year_lastweek_weekday::weeknum() const NOEXCEPT
|
||||
|
Loading…
x
Reference in New Issue
Block a user