summaryrefslogtreecommitdiff
path: root/ace/Functor.i
diff options
context:
space:
mode:
authormjb2 <mjb2@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-09 01:47:46 +0000
committermjb2 <mjb2@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-09 01:47:46 +0000
commit84c438c5392301e65f825229c1230bd30029c51c (patch)
treea42fafe5fd268a550e0135f7fb6aed12d9589ac3 /ace/Functor.i
parentaaaa82ce5fa681a4fa2815a40e0d4d6f1fb6a767 (diff)
downloadATCD-84c438c5392301e65f825229c1230bd30029c51c.tar.gz
See Tue Jun 8 20:46:05 1999 Matthew J Braun <mjb2@cs.wustl.edu>
Diffstat (limited to 'ace/Functor.i')
-rw-r--r--ace/Functor.i23
1 files changed, 5 insertions, 18 deletions
diff --git a/ace/Functor.i b/ace/Functor.i
index 8703043412a..abb2ca799a7 100644
--- a/ace/Functor.i
+++ b/ace/Functor.i
@@ -70,48 +70,35 @@ ACE_Hash<unsigned char>::operator () (unsigned char t) const
}
ACE_INLINE u_long
-ACE_Hash<short>::operator () (short t) const
+ACE_Hash<ACE_INT16>::operator () (ACE_INT16 t) const
{
return t;
}
ACE_INLINE u_long
-ACE_Hash<unsigned short>::operator () (unsigned short t) const
+ACE_Hash<ACE_UINT16>::operator () (ACE_UINT16 t) const
{
return t;
}
ACE_INLINE u_long
-ACE_Hash<int>::operator () (int t) const
+ACE_Hash<ACE_INT32>::operator () (ACE_INT32 t) const
{
return t;
}
ACE_INLINE u_long
-ACE_Hash<unsigned int>::operator () (unsigned int t) const
+ACE_Hash<ACE_UINT32>::operator () (ACE_UINT32 t) const
{
return t;
}
ACE_INLINE u_long
-ACE_Hash<long>::operator () (long t) const
-{
- return t;
-}
-
-ACE_INLINE u_long
-ACE_Hash<unsigned long>::operator () (unsigned long t) const
-{
- return t;
-}
-
-#if ACE_SIZEOF_LONG != 8
-ACE_INLINE u_long
ACE_Hash<ACE_UINT64>::operator () (ACE_UINT64 t) const
{
return ACE_U64_TO_U32 (t);
}
-#endif /* ACE_SIZEOF_LONG != 8 */
+
ACE_INLINE u_long
ACE_Hash<const char *>::operator () (const char *t) const