Update DateLUT.cpp

This commit is contained in:
Andrey Zvonov 2024-08-06 16:36:56 +03:00 committed by GitHub
parent d8772be1b1
commit a1849184cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -272,7 +272,7 @@ void DateLUT::setPreferSystemTZData()
const std::function<std::unique_ptr<cctz::ZoneInfoSource>(const std::string & name)> & fallback
) -> std::unique_ptr<cctz::ZoneInfoSource>
{
auto system_tz_source = fallback(name);
auto system_tz_source = fallback(name);
if (system_tz_source)
return system_tz_source;