[libc++][format] Fixes vector<bool> requirements.
Makes sure the formatter for the vector<bool>::reference is enabled when only the header <vector> is included. Before this change it required <vector> and <format> to be included. This violated the requirements in the Standard. Fixes: https://llvm.org/PR61314 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D149543
This commit is contained in:
@@ -1047,7 +1047,6 @@ _LIBCPP_POP_MACROS
|
||||
# include <algorithm>
|
||||
# include <concepts>
|
||||
# include <cstdlib>
|
||||
# include <functional>
|
||||
# include <iterator>
|
||||
# include <type_traits>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user