[libcxx-commits] [libcxx] [libc++][chrono] Loads tzdata.zi in tzdb. (PR #74928)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 13 09:49:58 PST 2024


================
@@ -37,7 +37,13 @@ int main(int, const char**) {
   tzdb.version = "version";
   assert(tzdb.version == "version");
 
-  // TODO TZDB add the other data members
+  std::vector<std::chrono::time_zone>& zones = tzdb.zones;
+  zones.clear(); // is it a non-const member?
+
+  std::vector<std::chrono::time_zone_link>& links = tzdb.links;
+  links.clear(); // is it a non-const member?
----------------
ldionne wrote:

Same.

https://github.com/llvm/llvm-project/pull/74928


More information about the libcxx-commits mailing list