summaryrefslogtreecommitdiff
path: root/ace/Filecache.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-23 18:28:55 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-23 18:28:55 +0000
commit06ce59d348e30ce3da6106943c2d5660abc4c219 (patch)
tree193a5f6f9b2e16cb3c722e5ef066dd266832a6bd /ace/Filecache.cpp
parent74205f4d54deada413395d34b3dfa99d51c6f7cb (diff)
downloadATCD-IR-base.tar.gz
This commit was manufactured by cvs2svn to create tag 'IR-base'.IR-base
Diffstat (limited to 'ace/Filecache.cpp')
-rw-r--r--ace/Filecache.cpp7
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;