Skip to content

Commit 27f4679

Browse files
Remove pre-P0960R3 workaround for emplace_front
1 parent 8af2cc4 commit 27f4679

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stl/inc/chrono

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,8 +2209,8 @@ namespace chrono {
22092209
auto [_Icu_version, _Zones, _Links] = _Tzdb_generate_time_zones();
22102210
auto [_Leap_sec, _All_ls_positive] = _Tzdb_generate_leap_seconds(0);
22112211
auto _Version = _Icu_version + "." + _STD to_string(_Leap_sec.size());
2212-
_Tzdb_list.emplace_front(tzdb{
2213-
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive});
2212+
_Tzdb_list.emplace_front(
2213+
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive);
22142214
}
22152215

22162216
_NODISCARD const tzdb& front() const noexcept {
@@ -2266,8 +2266,8 @@ namespace chrono {
22662266
}
22672267

22682268
auto _Version = _Tzdb_update_version(_Tzdb.version, _Leap_sec.size());
2269-
_Tzdb_list.emplace_front(tzdb{
2270-
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive});
2269+
_Tzdb_list.emplace_front(
2270+
_STD move(_Version), _STD move(_Zones), _STD move(_Links), _STD move(_Leap_sec), _All_ls_positive);
22712271
}
22722272
return _Tzdb_list.front();
22732273
}

0 commit comments

Comments
 (0)