Skip to content

Commit

Permalink
Guard an include of <ostream> in <chrono> with availability macro (
Browse files Browse the repository at this point in the history
…#108429)

This fixes a regression introduced in
#96035.

(cherry picked from commit 127c349)
  • Loading branch information
var-const authored and llvmbot committed Sep 13, 2024
1 parent f0010d1 commit b240a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/chrono
Original file line number Diff line number Diff line change
Expand Up @@ -1015,8 +1015,8 @@ constexpr chrono::year operator ""y(unsigned lo
# include <charconv>
# if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
# include <locale>
# include <ostream>
# endif
# include <ostream>
#endif

#endif // _LIBCPP_CHRONO

0 comments on commit b240a4e

Please sign in to comment.