From 06ce59d348e30ce3da6106943c2d5660abc4c219 Mon Sep 17 00:00:00 2001 From: nobody Date: Sun, 23 May 1999 18:28:55 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'IR-base'. --- ace/Filecache.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ace/Filecache.cpp') 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 -/* 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; -- cgit v1.2.1