File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 18
18
19
19
# include < __availability>
20
20
# include < __chrono/tzdb.h>
21
+ # include < __config>
22
+ # include < __fwd/string.h>
21
23
# include < forward_list>
22
- # include < string>
23
24
24
25
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
25
26
# pragma GCC system_header
@@ -41,7 +42,9 @@ namespace chrono {
41
42
class _LIBCPP_AVAILABILITY_TZDB tzdb_list {
42
43
public:
43
44
class __impl ; // public to allow construction in dylib
44
- _LIBCPP_EXPORTED_FROM_ABI explicit tzdb_list (__impl* __p);
45
+ _LIBCPP_HIDE_FROM_ABI explicit tzdb_list (__impl* __p) : __impl_(__p) {
46
+ _LIBCPP_ASSERT_NON_NULL (__impl_ != nullptr , " initialized time_zone without a valid pimpl object" );
47
+ }
45
48
_LIBCPP_EXPORTED_FROM_ABI ~tzdb_list ();
46
49
47
50
tzdb_list (const tzdb_list&) = delete ;
Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD
16
16
17
17
namespace chrono {
18
18
19
- _LIBCPP_EXPORTED_FROM_ABI tzdb_list::tzdb_list (tzdb_list::__impl* __p) : __impl_(__p) {
20
- _LIBCPP_ASSERT_NON_NULL (__impl_ != nullptr , " initialized time_zone without a valid pimpl object" );
21
- }
22
-
23
19
_LIBCPP_EXPORTED_FROM_ABI tzdb_list::~tzdb_list () { delete __impl_; }
24
20
25
21
_LIBCPP_NODISCARD_EXT _LIBCPP_EXPORTED_FROM_ABI const tzdb& tzdb_list::front () const noexcept {
You can’t perform that action at this time.
0 commit comments