diff options
Diffstat (limited to 'TAO/tao/Active_Object_Map.cpp')
-rw-r--r-- | TAO/tao/Active_Object_Map.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/TAO/tao/Active_Object_Map.cpp b/TAO/tao/Active_Object_Map.cpp index ac4702d1edd..08b67c1fe84 100644 --- a/TAO/tao/Active_Object_Map.cpp +++ b/TAO/tao/Active_Object_Map.cpp @@ -1,8 +1,10 @@ // $Id$ #include "ace/Auto_Ptr.h" -#include "tao/corba.h" #include "tao/Active_Object_Map.h" +#include "tao/ORB_Core.h" +#include "tao/POA.h" +#include "tao/Server_Strategy_Factory.h" ACE_RCSID(tao, Active_Object_Map, "$Id$") @@ -10,6 +12,13 @@ ACE_RCSID(tao, Active_Object_Map, "$Id$") # include "tao/Active_Object_Map.i" #endif /* ! __ACE_INLINE__ */ +u_long +TAO_ObjectId_Hash::operator () (const PortableServer::ObjectId &id) const +{ + return ACE::hash_pjw ((const char *) id.get_buffer (), + id.length ()); +} + TAO_Active_Object_Map::TAO_Active_Object_Map (int user_id_policy, int unique_id_policy) : unique_id_policy_ (unique_id_policy) |