summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/tr1/unordered_map
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-24 14:32:21 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-24 14:32:21 +0000
commit1e939a2b52c97be79dd3ea4fdadb2ff8cdca0042 (patch)
treec5ede4b98170a2831fb15e797760ac3107d73366 /libstdc++-v3/include/tr1/unordered_map
parent41819b5f8f2df6a3a1d2d07b379aeda026484670 (diff)
downloadppe42-gcc-1e939a2b52c97be79dd3ea4fdadb2ff8cdca0042.tar.gz
ppe42-gcc-1e939a2b52c97be79dd3ea4fdadb2ff8cdca0042.zip
2007-12-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1_impl/hashtable_policy.h (_Prime_rehash_policy:: _M_next_bkt, _M_bkt_for_elements, _M_need_rehash): Use __builtin_ceil. * include/std/unordered_map: Do not include <cmath>; prefer <bits/stringfwd.h> to <string>. * 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@131157 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/tr1/unordered_map')
-rw-r--r--libstdc++-v3/include/tr1/unordered_map3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/include/tr1/unordered_map b/libstdc++-v3/include/tr1/unordered_map
index 85e8f0015c4..041eb9443cf 100644
--- a/libstdc++-v3/include/tr1/unordered_map
+++ b/libstdc++-v3/include/tr1/unordered_map
@@ -40,12 +40,11 @@
# error TR1 header cannot be included from C++0x header
#endif
-#include <cmath>
-#include <string>
#include <utility>
#include <algorithm> // lower_bound
#include <bits/allocator.h>
#include <bits/stl_function.h> // equal_to, _Identity, _Select1st
+#include <bits/stringfwd.h>
#include <tr1/type_traits>
#include <tr1/functional_hash.h>
#include <tr1/hashtable.h>
OpenPOWER on IntegriCloud