public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Add missing <bits/stl_algobase.h> include to <bitset>
@ 2022-09-30 13:46 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-09-30 13:46 UTC (permalink / raw)
  To: libstdc++, gcc-patches; +Cc: Arsen Arsenović

From: Arsen Arsenović <arsen@aarsen.me>

Tested x86_64-linux. Pushed to trunk.

-- >8 --

libstdc++-v3/ChangeLog:

	* include/std/bitset: Include <bits/stl_algobase.h>.
---
 libstdc++-v3/include/std/bitset | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libstdc++-v3/include/std/bitset b/libstdc++-v3/include/std/bitset
index 1a551cf9785..3fe8b18735c 100644
--- a/libstdc++-v3/include/std/bitset
+++ b/libstdc++-v3/include/std/bitset
@@ -46,6 +46,8 @@
 
 #include <bits/functexcept.h>   // For invalid_argument, out_of_range,
                                 // overflow_error
+#include <bits/stl_algobase.h>  // For std::fill
+
 #if _GLIBCXX_HOSTED
 # include <string>
 # include <iosfwd>
-- 
2.37.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-30 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30 13:46 [committed] libstdc++: Add missing <bits/stl_algobase.h> include to <bitset> Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).