Skip to content

Commit 71e8c98

Browse files
committed
move inline keyword
1 parent da769f1 commit 71e8c98

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

libcxx/include/__config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ typedef __char32_t char32_t;
545545
// be declared with _LIBCPP_HIDE_FROM_ABI_AFTER_V1 otherwise they build to DLL will be inaccessible by MinGW-GCC.
546546
//// ** in-progress: describe peculiar behavior of MinGW-GCC **
547547
# if defined(__MINGW32__) || defined(__CYGWIN__)
548-
# define _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 inline _LIBCPP_HIDE_FROM_ABI
548+
# define _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 _LIBCPP_HIDE_FROM_ABI
549549
# else
550550
# define _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 _LIBCPP_HIDE_FROM_ABI_AFTER_V1
551551
# endif

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 _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 sentry(basic_ostream<_CharT, _Traits>& __os);
190-
_LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 ~sentry();
189+
explicit inline _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 sentry(basic_ostream<_CharT, _Traits>& __os);
190+
inline _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 ~sentry();
191191
sentry(const sentry&) = delete;
192192
sentry& operator=(const sentry&) = delete;
193193

libcxx/include/istream

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ class basic_istream<_CharT, _Traits>::sentry {
309309
bool __ok_;
310310

311311
public:
312-
explicit _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1 sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false);
312+
explicit inline _LIBCPP_HIDE_FROM_ABI_MINGW_OR_AFTER_V1
313+
sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false);
313314
// ~sentry() = default;
314315

315316
_LIBCPP_HIDE_FROM_ABI explicit operator bool() const { return __ok_; }

0 commit comments

Comments
 (0)