parent
ddc38c3998
commit
240f1b7e31
@ -244,7 +244,7 @@ namespace nana
|
|||||||
{
|
{
|
||||||
if (month != 2)
|
if (month != 2)
|
||||||
{
|
{
|
||||||
const std::array<unsigned, 12> days_in_month = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
|
constexpr std::array<unsigned, 12> days_in_month = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
|
||||||
return days_in_month[month - 1];
|
return days_in_month[month - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user