[gcc r13-1585] libstdc++: Remove obsolete comment in <string> header
Franथईois Dumont
fdumont@gcc.gnu.org
Sat Jul 9 12:25:28 GMT 2022
https://gcc.gnu.org/g:8f1802003d2b0c516362ea816698317129838bcd
commit r13-1585-g8f1802003d2b0c516362ea816698317129838bcd
Author: François Dumont <fdumont@gcc.gnu.org>
Date: Sat Jul 9 14:18:15 2022 +0200
libstdc++: Remove obsolete comment in <string> header
The comment is obsolete because char_traits.h do not include stl_algobase.h
anymore and stl_algobase.h is included directly from <string> a few lines
below.
libstdc++-v3/ChangeLog:
* include/std/string: Remove obsolete comment about char_traits.h including
stl_algobase.h.
Diff:
---
libstdc++-v3/include/std/string | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/std/string b/libstdc++-v3/include/std/string
index 37a4aaba9cd..62ecdb3af45 100644
--- a/libstdc++-v3/include/std/string
+++ b/libstdc++-v3/include/std/string
@@ -37,7 +37,7 @@
#include <bits/c++config.h>
#include <bits/stringfwd.h>
-#include <bits/char_traits.h> // NB: In turn includes stl_algobase.h
+#include <bits/char_traits.h>
#include <bits/allocator.h>
#include <bits/cpp_type_traits.h>
#include <bits/localefwd.h> // For operators >>, <<, and getline.
More information about the Libstdc++-cvs
mailing list