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.
---
Pushed as obvious.

 libstdc++-v3/include/bits/hashtable.h        | 2 +-
 libstdc++-v3/include/bits/hashtable_policy.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/include/bits/hashtable.h 
b/libstdc++-v3/include/bits/hashtable.h
index 8b312d25d7a..d36b32a7e3f 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 5d79e2ba26f..d8b201864c1 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
-- 
2.47.0

Reply via email to