diff options
Diffstat (limited to 'ace/Functor_String.inl')
-rw-r--r-- | ace/Functor_String.inl | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/ace/Functor_String.inl b/ace/Functor_String.inl deleted file mode 100644 index 083b2f488ec..00000000000 --- a/ace/Functor_String.inl +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "ace/ACE.h" -#include "ace/String_Base.h" - -ACE_INLINE unsigned long -ACE_Hash<ACE_CString>::operator () (const ACE_CString &t) const -{ - return t.hash (); -} - - -ACE_INLINE int -ACE_Equal_To<ACE_CString>::operator () (const ACE_CString &lhs, - const ACE_CString &rhs) const -{ - return lhs == rhs; -} - -ACE_INLINE int -ACE_Less_Than<ACE_CString>::operator () (const ACE_CString &lhs, - const ACE_CString &rhs) const -{ - return (lhs < rhs); -} - - -#if defined (ACE_USES_WCHAR) -ACE_INLINE unsigned long -ACE_Hash<ACE_WString>::operator () (const ACE_WString &t) const -{ - return t.hash (); -} - - -ACE_INLINE int -ACE_Equal_To<ACE_WString>::operator () (const ACE_WString &lhs, - const ACE_WString &rhs) const -{ - return lhs == rhs; -} - -ACE_INLINE int -ACE_Less_Than<ACE_WString>::operator () (const ACE_WString &lhs, - const ACE_WString &rhs) const -{ - return (lhs < rhs); -} - -#endif /*ACE_USES_WCHAR*/ |