diff options
Diffstat (limited to 'ace/Filecache.cpp')
-rw-r--r-- | ace/Filecache.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ace/Filecache.cpp b/ace/Filecache.cpp index edf8d04eabe..794ebb19e89 100644 --- a/ace/Filecache.cpp +++ b/ace/Filecache.cpp @@ -136,7 +136,6 @@ ACE_Filecache_Handle::size (void) const #define ACE_Filecache_Hash_Entry \ ACE_Hash_Map_Entry<const char *, ACE_Filecache_Object *> -/* template<> */ ACE_Filecache_Hash_Entry::ACE_Hash_Map_Entry (const char *const &ext_id, ACE_Filecache_Object *const &int_id, ACE_Filecache_Hash_Entry *next, @@ -148,7 +147,6 @@ ACE_Filecache_Hash_Entry::ACE_Hash_Map_Entry (const char *const &ext_id, { } -/* template<> */ ACE_Filecache_Hash_Entry::ACE_Hash_Map_Entry (ACE_Filecache_Hash_Entry *next, ACE_Filecache_Hash_Entry *prev) : ext_id_ (0), @@ -157,7 +155,6 @@ ACE_Filecache_Hash_Entry::ACE_Hash_Map_Entry (ACE_Filecache_Hash_Entry *next, { } -/* template<> */ ACE_Filecache_Hash_Entry::~ACE_Hash_Map_Entry (void) { ACE_OS::free ((void *) ext_id_); @@ -166,13 +163,13 @@ ACE_Filecache_Hash_Entry::~ACE_Hash_Map_Entry (void) // We need these template specializations since KEY is defined as a // char*, which doesn't have a hash() or equal() method defined on it. -/* template<> */ long unsigned int +long unsigned int ACE_Filecache_Hash::hash (const char *const &ext_id) { return ACE::hash_pjw (ext_id); } -/* template<> */ int +int ACE_Filecache_Hash::equal (const char *const &id1, const char *const &id2) { return ACE_OS::strcmp (id1, id2) == 0; |