diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-25 13:49:54 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-25 13:49:54 +0000 |
commit | 168ade2138cdd77970be6cc1ca08878bc189dee0 (patch) | |
tree | b58f47044fb63244d36629ce7ec253fa88ec3eb9 /libstdc++-v3/include/tr1 | |
parent | 13aebeb002a570fa6148d687d96701b2f14ac094 (diff) | |
download | gcc-168ade2138cdd77970be6cc1ca08878bc189dee0.tar.gz |
2007-12-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1_impl/hashtable_policy.h (__lower_bound): Add.
(_Prime_rehash_policy::_M_next_bkt, _M_bkt_for_elements,
_M_need_rehash): Use __lower_bound.
* include/std/unordered_map: Do not include the whole <algorithm>,
include <bits/stl_algobase.h>.
* include/std/unordered_set: Likewise.
* include/tr1/unordered_map: Likewise.
* include/tr1/unordered_set: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131170 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/tr1')
-rw-r--r-- | libstdc++-v3/include/tr1/unordered_map | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/tr1/unordered_set | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/tr1/unordered_map b/libstdc++-v3/include/tr1/unordered_map index 041eb9443cf..5ab294012db 100644 --- a/libstdc++-v3/include/tr1/unordered_map +++ b/libstdc++-v3/include/tr1/unordered_map @@ -41,7 +41,7 @@ #endif #include <utility> -#include <algorithm> // lower_bound +#include <bits/stl_algobase.h> #include <bits/allocator.h> #include <bits/stl_function.h> // equal_to, _Identity, _Select1st #include <bits/stringfwd.h> diff --git a/libstdc++-v3/include/tr1/unordered_set b/libstdc++-v3/include/tr1/unordered_set index 16181681f55..8811d4a1f2b 100644 --- a/libstdc++-v3/include/tr1/unordered_set +++ b/libstdc++-v3/include/tr1/unordered_set @@ -41,7 +41,7 @@ #endif #include <utility> -#include <algorithm> // lower_bound +#include <bits/stl_algobase.h> #include <bits/allocator.h> #include <bits/stl_function.h> // equal_to, _Identity, _Select1st #include <bits/stringfwd.h> |