diff --git a/tz.cpp b/tz.cpp index 7162041..eff28d5 100644 --- a/tz.cpp +++ b/tz.cpp @@ -269,6 +269,7 @@ get_install() return ref; } +#if HAS_REMOTE_API static std::string get_download_gz_file(const std::string& version) @@ -276,6 +277,7 @@ get_download_gz_file(const std::string& version) auto file = get_install() + version + ".tar.gz"; return file; } +#endif // HAS_REMOTE_API // These can be used to reduce the range of the database to save memory CONSTDATA auto min_year = date::year::min();