diff options
Diffstat (limited to 'ace/Hash_Cache_Map_Manager_T.cpp')
-rw-r--r-- | ace/Hash_Cache_Map_Manager_T.cpp | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/ace/Hash_Cache_Map_Manager_T.cpp b/ace/Hash_Cache_Map_Manager_T.cpp index 2e535816146..9abe0de904d 100644 --- a/ace/Hash_Cache_Map_Manager_T.cpp +++ b/ace/Hash_Cache_Map_Manager_T.cpp @@ -22,7 +22,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Hash_Cache_Map_Manager) #define T_1 class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS, class CACHING_STRATEGY, class ATTRIBUTES #define T_2 KEY, VALUE, HASH_KEY, COMPARE_KEYS, CACHING_STRATEGY, ATTRIBUTES -template <T_1> + template <T_1> ACE_Hash_Cache_Map_Manager<T_2>::ACE_Hash_Cache_Map_Manager (CACHING_STRATEGY &caching_s, size_t size, ACE_Allocator *alloc) @@ -181,32 +181,6 @@ ACE_Hash_Cache_Map_Manager<T_2>::find (const KEY &key, } template <T_1> int -ACE_Hash_Cache_Map_Manager<T_2>::find (const KEY &key, - VALUE &value) -{ - CACHE_ENTRY *entry = 0; - - int result = this->find (key, - entry); - - if (result != -1) - { - value = entry->int_id_.first (); - } - - return result; -} - -template <T_1> int -ACE_Hash_Cache_Map_Manager<T_2>::find (const KEY &key) -{ - CACHE_ENTRY *entry = 0; - - return this->find (key, - entry); -} - -template <T_1> int ACE_Hash_Cache_Map_Manager<T_2>::unbind (ACE_Hash_Map_Entry<KEY, ACE_Pair<VALUE, ATTRIBUTES> > *entry) { // Remove the entry from the cache. |