diff options
author | msmit <msmit@remedy.nl> | 2010-09-30 05:41:49 +0000 |
---|---|---|
committer | msmit <msmit@remedy.nl> | 2010-09-30 05:41:49 +0000 |
commit | 6cfcb7fc64b7b9c0ef1b8ea20bd6b8980d60e9e6 (patch) | |
tree | fc750d28062f2d554ae5875b9c190f1620db28b0 /ACE/ace/Caching_Utility_T.cpp | |
parent | 07d530a56a2770caaaf947b6d121a3bd71c1d0bd (diff) | |
download | ATCD-6cfcb7fc64b7b9c0ef1b8ea20bd6b8980d60e9e6.tar.gz |
Thu Sep 30 05:45:10 UTC 2010 Marcel Smit <msmit@remedy.nl>
* NEWS:
* ace/Cache_Map_Manager_T.h:
* ace/Cache_Map_Manager_T.inl:
* ace/Cache_Map_Manager_T.cpp:
* ace/Cached_Connect_Strategy_T.h:
* ace/Cached_Connect_Strategy_T.cpp:
* ace/Caching_Strategies_T.h:
* ace/Caching_Utility_T.cpp:
* ace/Cleanup_Strategies_T.cpp:
* ace/Hash_Cache_Map_Manager_T.h:
* ace/Hash_Cache_Map_Manager_T.cpp:
* ace/Map_T.h:
* ace/Map_T.inl:
* ace/Map_T.cpp:
* ace/Pair_T.h:
* ace/Pair_T.inl:
* examples/Web_Crawler/URL_Visitor.h:
* tests/Cache_Map_Manager_Test.cpp:
* tests/Cached_Accept_Conn_Test.h:
* tests/Cached_Conn_Test.cpp:
* tests/Map_Manager_Test.cpp:
Removed ACE_Pair from the ACE library.
Diffstat (limited to 'ACE/ace/Caching_Utility_T.cpp')
-rw-r--r-- | ACE/ace/Caching_Utility_T.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/ace/Caching_Utility_T.cpp b/ACE/ace/Caching_Utility_T.cpp index 9c2d67a273c..7443594b62d 100644 --- a/ACE/ace/Caching_Utility_T.cpp +++ b/ACE/ace/Caching_Utility_T.cpp @@ -94,7 +94,7 @@ ACE_Pair_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUTES>::minimum ( // Starting values. ITERATOR iter = container.begin (); ITERATOR end = container.end (); - ATTRIBUTES min = (*iter).int_id_.second (); + ATTRIBUTES min = (*iter).int_id_.second; key_to_remove = &(*iter).ext_id_; value_to_remove = &(*iter).int_id_; @@ -104,10 +104,10 @@ ACE_Pair_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUTES>::minimum ( iter != end; ++iter) { - if (min > (*iter).int_id_.second ()) + if (min > (*iter).int_id_.second) { // Ah! an item with lower ATTTRIBUTES... - min = (*iter).int_id_.second (); + min = (*iter).int_id_.second; key_to_remove = &(*iter).ext_id_; value_to_remove = &(*iter).int_id_; } @@ -194,7 +194,7 @@ ACE_Recyclable_Handler_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUT // Starting values. ITERATOR end = container.end (); ITERATOR iter = container.begin (); - ATTRIBUTES min = (*iter).int_id_.second (); + ATTRIBUTES min = (*iter).int_id_.second; key_to_remove = 0; value_to_remove = 0; // Found the minimum entry to be purged? @@ -214,7 +214,7 @@ ACE_Recyclable_Handler_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUT { if (found == 0) { - min = (*iter).int_id_.second (); + min = (*iter).int_id_.second; key_to_remove = &(*iter).ext_id_; value_to_remove = &(*iter).int_id_; found = 1; @@ -222,9 +222,9 @@ ACE_Recyclable_Handler_Caching_Utility<KEY, VALUE, CONTAINER, ITERATOR, ATTRIBUT else { // Ah! an entry with lower ATTTRIBUTES... - if (min > (*iter).int_id_.second ()) + if (min > (*iter).int_id_.second) { - min = (*iter).int_id_.second (); + min = (*iter).int_id_.second; key_to_remove = &(*iter).ext_id_; value_to_remove = &(*iter).int_id_; } |