]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove obsolete comment in <string> header
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 9 Jul 2022 12:18:15 +0000 (14:18 +0200)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 9 Jul 2022 12:18:15 +0000 (14:18 +0200)
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.

libstdc++-v3/include/std/string

index 37a4aaba9cddfece15c0a2c2ba0cc197c8ca0c36..62ecdb3af45ab05a947bd3b79fcbc529bbf92a3e 100644 (file)
@@ -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.