Skip to content

Commit

Permalink
Remove pre-P0960R3 workaround for emplace_front
Browse files Browse the repository at this point in the history
  • Loading branch information
frederick-vs-ja committed Aug 27, 2024
1 parent 8af2cc4 commit 27f4679
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stl/inc/chrono
Original file line number Diff line number Diff line change
Expand Up @@ -2209,8 +2209,8 @@ namespace chrono {
auto [_Icu_version, _Zones, _Links] = _Tzdb_generate_time_zones();
auto [_Leap_sec, _All_ls_positive] = _Tzdb_generate_leap_seconds(0);
auto _Version = _Icu_version + "." + _STD to_string(_Leap_sec.size());
_Tzdb_list.emplace_front(tzdb{
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive});
_Tzdb_list.emplace_front(
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive);
}

_NODISCARD const tzdb& front() const noexcept {
Expand Down Expand Up @@ -2266,8 +2266,8 @@ namespace chrono {
}

auto _Version = _Tzdb_update_version(_Tzdb.version, _Leap_sec.size());
_Tzdb_list.emplace_front(tzdb{
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive});
_Tzdb_list.emplace_front(
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive);
}
return _Tzdb_list.front();
}
Expand Down

0 comments on commit 27f4679

Please sign in to comment.