@@ -269,7 +269,7 @@ public:
269269 _LIBCPP_HIDE_FROM_ABI basic_filebuf* __open (int __fd, ios_base::openmode __mode);
270270 basic_filebuf* close ();
271271# if _LIBCPP_STD_VER >= 26
272- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept {
272+ _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept {
273273 _LIBCPP_ASSERT_UNCATEGORIZED (this ->is_open (), " File must be opened" );
274274# if defined(_LIBCPP_WIN32API)
275275 return std::__filebuf_windows_native_handle (__file_);
@@ -1178,9 +1178,7 @@ public:
11781178
11791179 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf () const ;
11801180# if _LIBCPP_STD_VER >= 26
1181- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept {
1182- return rdbuf ()->native_handle ();
1183- }
1181+ _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept { return rdbuf ()->native_handle (); }
11841182# endif
11851183 _LIBCPP_HIDE_FROM_ABI bool is_open () const ;
11861184 void open (const char * __s, ios_base::openmode __mode = ios_base::in);
@@ -1336,9 +1334,7 @@ public:
13361334
13371335 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf () const ;
13381336# if _LIBCPP_STD_VER >= 26
1339- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept {
1340- return rdbuf ()->native_handle ();
1341- }
1337+ _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept { return rdbuf ()->native_handle (); }
13421338# endif
13431339 _LIBCPP_HIDE_FROM_ABI bool is_open () const ;
13441340 void open (const char * __s, ios_base::openmode __mode = ios_base::out);
@@ -1500,9 +1496,7 @@ public:
15001496
15011497 _LIBCPP_HIDE_FROM_ABI basic_filebuf<char_type, traits_type>* rdbuf () const ;
15021498# if _LIBCPP_STD_VER >= 26
1503- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept {
1504- return rdbuf ()->native_handle ();
1505- }
1499+ _LIBCPP_HIDE_FROM_ABI native_handle_type native_handle () const noexcept { return rdbuf ()->native_handle (); }
15061500# endif
15071501 _LIBCPP_HIDE_FROM_ABI bool is_open () const ;
15081502 _LIBCPP_HIDE_FROM_ABI void open (const char * __s, ios_base::openmode __mode = ios_base::in | ios_base::out);
0 commit comments