From f14a01b8fbabdbf58e4bbc74cc5a84d672b20dfc Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Thu, 3 Nov 2005 17:38:46 +0000 Subject: ChangeLogTag:Thu Nov 3 09:26:21 2005 Ossama Othman --- TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h') diff --git a/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h b/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h index a41c3ab9f84..b93313b0c32 100644 --- a/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h +++ b/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h @@ -23,6 +23,9 @@ #include "ort_export.h" #include "tao/PortableServer/ORT_Adapter_Factory.h" +#include "tao/Versioned_Namespace.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO { @@ -48,14 +51,19 @@ namespace TAO // Used to force the initialization of the code. static int Initializer (void); }; - - ACE_STATIC_SVC_DECLARE (ORT_Adapter_Factory_Impl) - ACE_FACTORY_DECLARE (TAO_ORT, ORT_Adapter_Factory_Impl) } static int TAO_Requires_ORTFactory_Initializer = TAO::ORT_Adapter_Factory_Impl::Initializer (); +TAO_END_VERSIONED_NAMESPACE_DECL + +namespace TAO +{ + ACE_STATIC_SVC_DECLARE (ORT_Adapter_Factory_Impl) + ACE_FACTORY_DECLARE (TAO_ORT, ORT_Adapter_Factory_Impl) +} + #define TAO_OBJREF_TEMPLATE_SAFE_INCLUDE #include "tao/ObjRefTemplate/ObjectReferenceTemplateC.h" #undef TAO_OBJREF_TEMPLATE_SAFE_INCLUDE -- cgit v1.2.1