Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / Default_Collocation_Resolver.cpp
blob7e1382e4947c3ebceca2f9ba69b7e896d6fb3356
1 #include "tao/Default_Collocation_Resolver.h"
2 #include "tao/Object.h"
3 #include "ace/Log_Msg.h"
5 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
7 CORBA::Boolean
8 TAO_Default_Collocation_Resolver::is_collocated (CORBA::Object_ptr object) const
10 return object->_is_collocated ();
13 ACE_STATIC_SVC_DEFINE (TAO_Default_Collocation_Resolver,
14 ACE_TEXT ("Default_Collocation_Resolver"),
15 ACE_SVC_OBJ_T,
16 &ACE_SVC_NAME (TAO_Default_Collocation_Resolver),
17 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
19 ACE_FACTORY_DEFINE (TAO, TAO_Default_Collocation_Resolver)
21 TAO_END_VERSIONED_NAMESPACE_DECL