fix time struct warning on gcc

This commit is contained in:
Thomas Fussell 2021-01-02 10:42:21 -05:00
parent 3c7122a78c
commit a96c288036

View File

@ -126,7 +126,7 @@ date date::today()
int date::weekday() const
{
#ifdef __APPLE__
#ifndef _MSC_VER
std::tm tm{0, 0, 0, day, month - 1, year - 1900, 0, 0, 0, 0, nullptr};
#else
std::tm tm{0, 0, 0, day, month - 1, year - 1900, 0, 0, 0};