From 272d487b3d490126e520b67fe76bbb2e67226c07 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Thu, 31 Aug 2017 17:45:42 -0400 Subject: [PATCH] Add non-const front() to tzdb_list * Needed when USE_OS_TZDB==1 && MISSING_LEAP_SECONDS==0 --- tz.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tz.h b/tz.h index fb8af00..d3c2a99 100644 --- a/tz.h +++ b/tz.h @@ -1222,6 +1222,7 @@ public: tzdb_list(tzdb_list&& x) noexcept; const TZ_DB& front() const noexcept {return *head_;} + TZ_DB& front() noexcept {return *head_;} class const_iterator;