aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-11-07 11:14:19 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2024-11-07 15:47:07 +0000
commit6a6b8b847bce78a909379f3b9d3365c4ac4f0ff5 (patch)
tree7059795a8b87e71dea865d6bad140169fb9ffa60 /libstdc++-v3
parentbcf40c70f8b0fbc54ec14adea31f274e1791b1ed (diff)
downloadgcc-6a6b8b847bce78a909379f3b9d3365c4ac4f0ff5.zip
gcc-6a6b8b847bce78a909379f3b9d3365c4ac4f0ff5.tar.gz
gcc-6a6b8b847bce78a909379f3b9d3365c4ac4f0ff5.tar.bz2
libstdc++: Tweak comments on includes in hashtable headers
std::is_permutation is only used in <bits/hashtable.h> not in <bits/hashtable_policy.h>, so move the comment referring to it. libstdc++-v3/ChangeLog: * include/bits/hashtable.h: Add is_permutation to comment. * include/bits/hashtable_policy.h: Remove it from comment.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/include/bits/hashtable.h2
-rw-r--r--libstdc++-v3/include/bits/hashtable_policy.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h
index 8b312d2..d36b32a 100644
--- a/libstdc++-v3/include/bits/hashtable.h
+++ b/libstdc++-v3/include/bits/hashtable.h
@@ -36,7 +36,7 @@
#include <bits/hashtable_policy.h>
#include <bits/enable_special_members.h>
-#include <bits/stl_algobase.h> // fill_n
+#include <bits/stl_algobase.h> // fill_n, is_permutation
#include <bits/stl_function.h> // __has_is_transparent_t
#if __cplusplus > 201402L
# include <bits/node_handle.h>
diff --git a/libstdc++-v3/include/bits/hashtable_policy.h b/libstdc++-v3/include/bits/hashtable_policy.h
index 5d79e2b..d8b2018 100644
--- a/libstdc++-v3/include/bits/hashtable_policy.h
+++ b/libstdc++-v3/include/bits/hashtable_policy.h
@@ -33,7 +33,7 @@
#include <tuple> // for std::tuple, std::forward_as_tuple
#include <bits/functional_hash.h> // for __is_fast_hash
-#include <bits/stl_algobase.h> // for std::min, std::is_permutation.
+#include <bits/stl_algobase.h> // for std::min
#include <bits/stl_pair.h> // for std::pair
#include <ext/aligned_buffer.h> // for __gnu_cxx::__aligned_buffer
#include <ext/alloc_traits.h> // for std::__alloc_rebind