Add non-const front() to tzdb_list

* Needed when USE_OS_TZDB==1 && MISSING_LEAP_SECONDS==0
This commit is contained in:
Howard Hinnant 2017-08-31 17:45:42 -04:00
parent aad6010831
commit 272d487b3d

1
tz.h
View File

@ -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;