aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2022-07-09 14:18:15 +0200
committerFrançois Dumont <fdumont@gcc.gnu.org>2022-07-09 14:18:15 +0200
commit8f1802003d2b0c516362ea816698317129838bcd (patch)
treec721f50d5c8695f0fc6059634129080170a1c7a8
parentb434c94bf7a5d4bb9ca8f0b5442ca85b43f32a9a (diff)
downloadgcc-8f1802003d2b0c516362ea816698317129838bcd.zip
gcc-8f1802003d2b0c516362ea816698317129838bcd.tar.gz
gcc-8f1802003d2b0c516362ea816698317129838bcd.tar.bz2
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.
-rw-r--r--libstdc++-v3/include/std/string2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/string b/libstdc++-v3/include/std/string
index 37a4aab..62ecdb3 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.