Skip to content

Commit 2307fd1

Browse files
committed
[LIBCXX] std::ostream::sentry should be hidden
for testing by CI. std::istream::sentry is left original to ensure test detects this defect.
1 parent 47f81a8 commit 2307fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__ostream/basic_ostream.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ class basic_ostream<_CharT, _Traits>::sentry {
186186
basic_ostream<_CharT, _Traits>& __os_;
187187

188188
public:
189-
explicit sentry(basic_ostream<_CharT, _Traits>& __os);
190-
~sentry();
189+
explicit _LIBCPP_HIDE_FROM_ABI inline sentry(basic_ostream<_CharT, _Traits>& __os);
190+
_LIBCPP_HIDE_FROM_ABI inline ~sentry();
191191
sentry(const sentry&) = delete;
192192
sentry& operator=(const sentry&) = delete;
193193

0 commit comments

Comments
 (0)