aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2025-03-12 17:43:08 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2025-03-12 17:57:45 +0000
commitd8a3944b440777d2d6fb4a9f456189a0dc439ec8 (patch)
treeec2261a5cad577e965d7b8621c8d0588c40fd9f4
parentfdcff3f0313ddbc6948f3678833ddf30b9d30441 (diff)
downloadgcc-d8a3944b440777d2d6fb4a9f456189a0dc439ec8.zip
gcc-d8a3944b440777d2d6fb4a9f456189a0dc439ec8.tar.gz
gcc-d8a3944b440777d2d6fb4a9f456189a0dc439ec8.tar.bz2
libstdc++: Use new <bits/monostate.h> header in <format>
In r15-5832-g91f4550e1700b7 std::monostate was moved to its own header, which means that <format> no longer needs to include all of <variant>. libstdc++-v3/ChangeLog: * include/std/format: Include <bits/monostate.h> instead of <variant>.
-rw-r--r--libstdc++-v3/include/std/format2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format
index bc26599..f52645a 100644
--- a/libstdc++-v3/include/std/format
+++ b/libstdc++-v3/include/std/format
@@ -51,7 +51,7 @@
#include <span>
#include <string_view>
#include <string>
-#include <variant> // monostate (TODO: move to bits/utility.h?)
+#include <bits/monostate.h>
#include <bits/ranges_base.h> // input_range, range_reference_t
#include <bits/ranges_util.h> // subrange
#include <bits/ranges_algobase.h> // ranges::copy