summaryrefslogtreecommitdiff
path: root/ace/Filecache.h
diff options
context:
space:
mode:
authorjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-07 17:02:40 +0000
committerjxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-07 17:02:40 +0000
commitc4999b0ddcb3c22c7069fdb81000bba7f037c1bf (patch)
treefcf6f884c366b48015cd284e035788de2ea1ac4b /ace/Filecache.h
parentf3c5981d3deb43fac889f28aeb0bfa920b6691b6 (diff)
downloadATCD-c4999b0ddcb3c22c7069fdb81000bba7f037c1bf.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Filecache.h')
-rw-r--r--ace/Filecache.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/Filecache.h b/ace/Filecache.h
index a83bc6e3082..6f81bdd2aaa 100644
--- a/ace/Filecache.h
+++ b/ace/Filecache.h
@@ -21,6 +21,7 @@
#include "ace/Mem_Map.h"
#include "ace/Synch_T.h"
#include "ace/Hash_Map_Manager.h"
+#include "ace/SString.h"
// = Forward declarations.
class ACE_Filecache_Object;
@@ -136,11 +137,19 @@ private:
// A dup()'d version of the one from this->file_.
};
+#if defined (ACE_HAS_TEMPLATE_SPECIALIZATION)
typedef ACE_Hash_Map_Entry<const char *, ACE_Filecache_Object *>
ACE_Filecache_Hash_Entry;
typedef ACE_Hash_Map_Manager<const char *, ACE_Filecache_Object *, ACE_Null_Mutex>
ACE_Filecache_Hash;
+#else
+typedef ACE_Hash_Map_Entry<ACE_CString, ACE_Filecache_Object *>
+ ACE_Filecache_Hash_Entry;
+
+typedef ACE_Hash_Map_Manager<ACE_CString, ACE_Filecache_Object *, ACE_Null_Mutex>
+ ACE_Filecache_Hash;
+#endif /* ACE_HAS_TEMPLATE_SPECIALIZATION */
class ACE_Export ACE_Filecache
// = TITLE