forked from HowardHinnant/date
Add non-const front() to tzdb_list
* Needed when USE_OS_TZDB==1 && MISSING_LEAP_SECONDS==0
This commit is contained in:
1
tz.h
1
tz.h
@@ -1222,6 +1222,7 @@ public:
|
|||||||
tzdb_list(tzdb_list&& x) noexcept;
|
tzdb_list(tzdb_list&& x) noexcept;
|
||||||
|
|
||||||
const TZ_DB& front() const noexcept {return *head_;}
|
const TZ_DB& front() const noexcept {return *head_;}
|
||||||
|
TZ_DB& front() noexcept {return *head_;}
|
||||||
|
|
||||||
class const_iterator;
|
class const_iterator;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user