mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-25 23:40:53 +08:00
Fix compilation when MISSING_LEAP_SECONDS is set to true
This commit is contained in:
parent
15e0c84e42
commit
50acf3ffd8
@ -2820,6 +2820,7 @@ find_read_and_leap_seconds()
|
||||
}
|
||||
return leap_seconds;
|
||||
}
|
||||
#if !MISSING_LEAP_SECONDS
|
||||
in.clear();
|
||||
in.open(get_tz_dir() + std::string(1, folder_delimiter) + "right/UTC",
|
||||
std::ios_base::binary);
|
||||
@ -2834,6 +2835,7 @@ find_read_and_leap_seconds()
|
||||
{
|
||||
return load_just_leaps(in);
|
||||
}
|
||||
#endif
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user