diff options
Diffstat (limited to 'trunk/TAO/tao/PortableServer/Servant_Base.inl')
-rw-r--r-- | trunk/TAO/tao/PortableServer/Servant_Base.inl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/trunk/TAO/tao/PortableServer/Servant_Base.inl b/trunk/TAO/tao/PortableServer/Servant_Base.inl new file mode 100644 index 00000000000..afa16b3fb71 --- /dev/null +++ b/trunk/TAO/tao/PortableServer/Servant_Base.inl @@ -0,0 +1,13 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE u_long +TAO_Servant_Hash::operator () (PortableServer::Servant servant) const +{ + return static_cast<u_long> (reinterpret_cast<ptrdiff_t> (servant)); +} + +TAO_END_VERSIONED_NAMESPACE_DECL |