diff options
author | David Edelsohn <edelsohn@gnu.org> | 2005-07-07 13:35:25 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2005-07-07 09:35:25 -0400 |
commit | 456f9beaadde15da4885551550399b8acc870e54 (patch) | |
tree | aab3917912e95abf939a35cbd8bb4846e479c1c2 | |
parent | 2f035a33a565635940714dc8366c1a8608069002 (diff) | |
download | gcc-456f9beaadde15da4885551550399b8acc870e54.zip gcc-456f9beaadde15da4885551550399b8acc870e54.tar.gz gcc-456f9beaadde15da4885551550399b8acc870e54.tar.bz2 |
tree_order_statistics_join.cc: Change map_t to map_type.
* testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
Change map_t to map_type.
From-SVN: r101709
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1d0d2ed..6704abf 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2005-07-07 David Edelsohn <edelsohn@gnu.org> + + * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: + Change map_t to map_type. + 2005-07-05 Paolo Carlini <pcarlini@suse.de> Add class __versa_string, a versatile "basic_string-type" class: diff --git a/libstdc++-v3/testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc b/libstdc++-v3/testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc index 3cb6e60..473cfdd 100644 --- a/libstdc++-v3/testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc +++ b/libstdc++-v3/testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc @@ -59,14 +59,14 @@ pb_assoc::tree_assoc_cntnr< pb_assoc::order_statistics_key_cmp<std::less<int> >, pb_assoc::splay_tree_ds_tag, pb_assoc::order_statistics_node_updator<int> > -map_t; +map_type; int main() { typedef pb_assoc::order_statistics_key< int> int_order_statistics_key; - map_t s0; + map_type s0; // Insert some entries into s0. @@ -76,13 +76,13 @@ main() // The order of the keys should be: 12, 30, 505. - pb_assoc::find_by_order<map_t> by_order; + pb_assoc::find_by_order<map_type> by_order; assert(by_order(s0, 0)->first == 12); assert(by_order(s0, 1)->first == 30); assert(by_order(s0, 2)->first == 505); - map_t s1; + map_type s1; // Insert some entries into s1. |