Skip to content

Commit d1b8b31

Browse files
committed
[LIBCXX] std::ostream::sentry should be exported
1 parent 827e89b commit d1b8b31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libcxx/include/__ostream/basic_ostream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class basic_ostream : virtual public basic_ios<_CharT, _Traits> {
7171

7272
public:
7373
// 27.7.2.4 Prefix/suffix:
74-
class sentry;
74+
class _LIBCPP_EXPORTED_FROM_ABI sentry;
7575

7676
// 27.7.2.6 Formatted output:
7777
inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) {

libcxx/include/istream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public:
228228
basic_istream& operator=(const basic_istream& __rhs) = delete;
229229

230230
// 27.7.1.1.3 Prefix/suffix:
231-
class sentry;
231+
class _LIBCPP_EXPORTED_FROM_ABI sentry;
232232

233233
// 27.7.1.2 Formatted input:
234234
inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_istream& operator>>(basic_istream& (*__pf)(basic_istream&)) {

0 commit comments

Comments
 (0)