[libcxx-commits] [libcxx] [libc++][chrono] Loads leap-seconds.list in tzdb. (PR #82113)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 15 10:34:23 PDT 2024


================
@@ -35,5 +35,8 @@ int main(int, const char**) {
   assert(std::ranges::is_sorted(db.links));
   assert(std::ranges::adjacent_find(db.links) == db.links.end()); // is unique?
 
+  assert(!db.leap_seconds.empty());
----------------
mordante wrote:

Good catch!

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


More information about the libcxx-commits mailing list