Skip to content

Commit

Permalink
[libc++] Avoid including <ostream> in <fstream> and <strstream>
Browse files Browse the repository at this point in the history
  • Loading branch information
philnik777 committed Nov 13, 2024
1 parent 42da815 commit 465a81b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libcxx/include/fstream
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@ typedef basic_fstream<wchar_t> wfstream;
#include <__fwd/fstream.h>
#include <__locale>
#include <__memory/addressof.h>
#include <__ostream/basic_ostream.h>
#include <__type_traits/enable_if.h>
#include <__type_traits/is_same.h>
#include <__utility/move.h>
#include <__utility/swap.h>
#include <__utility/unreachable.h>
#include <cstdio>
#include <istream>
#include <ostream>
#include <typeinfo>
#include <version>

Expand Down
2 changes: 1 addition & 1 deletion libcxx/include/strstream
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ private:
*/

#include <__config>
#include <__ostream/basic_ostream.h>
#include <istream>
#include <ostream>
#include <version>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Expand Down

0 comments on commit 465a81b

Please sign in to comment.