aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2008-12-13 01:40:15 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2008-12-12 17:40:15 -0800
commit81ff169c9e6466828f8246ccab828ef5a83cb0cb (patch)
tree9e21ca435a05660af134fbebc79fca260c93744c
parentb0c2c850bd1a715b2b30e21323476e8e9216a572 (diff)
downloadgcc-81ff169c9e6466828f8246ccab828ef5a83cb0cb.zip
gcc-81ff169c9e6466828f8246ccab828ef5a83cb0cb.tar.gz
gcc-81ff169c9e6466828f8246ccab828ef5a83cb0cb.tar.bz2
re PR libstdc++/37144 (A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp)
2008-12-12 H.J. Lu <hongjiu.lu@intel.com> PR libstdc++/37144 * testsuite/util/regression/trait/assoc/type_trait.hpp (regression_test_type_traits): Add const to pair_type_rebind. From-SVN: r142736
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/util/regression/trait/assoc/type_trait.hpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a9b95b1..66dbdfd 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR libstdc++/37144
+ * testsuite/util/regression/trait/assoc/type_trait.hpp
+ (regression_test_type_traits): Add const to pair_type_rebind.
+
2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
* src/atomic.cc: Correct guards to match mutex.cc.
diff --git a/libstdc++-v3/testsuite/util/regression/trait/assoc/type_trait.hpp b/libstdc++-v3/testsuite/util/regression/trait/assoc/type_trait.hpp
index 2764e43..67373c7 100644
--- a/libstdc++-v3/testsuite/util/regression/trait/assoc/type_trait.hpp
+++ b/libstdc++-v3/testsuite/util/regression/trait/assoc/type_trait.hpp
@@ -87,7 +87,7 @@ namespace __gnu_pbds
typedef typename basic_type_rebind::const_reference basic_type_const_reference;
- typedef typename cntnr::allocator_type::template rebind<std::pair<basic_type, basic_type> >::other pair_type_rebind;
+ typedef typename cntnr::allocator_type::template rebind<std::pair<const basic_type, basic_type> >::other pair_type_rebind;
typedef typename pair_type_rebind::const_reference pair_type_const_reference;
template<typename Gen>