summaryrefslogtreecommitdiff
path: root/TAO/tao/ObjRefTemplate
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-11-27 12:04:11 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-11-27 12:04:11 +0000
commit98f6da7a56b52044e2812428284e6ae70862e86b (patch)
tree63db08fecfcf1885b7ae6bdf86ac7a2b7387eb84 /TAO/tao/ObjRefTemplate
parent98e23e61b17a179a6a310de0fec34767aa26ae49 (diff)
downloadATCD-98f6da7a56b52044e2812428284e6ae70862e86b.tar.gz
ChangeLogTag:Sun Nov 27 04:00:27 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/ObjRefTemplate')
-rw-r--r--TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.cpp24
-rw-r--r--TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h8
2 files changed, 15 insertions, 17 deletions
diff --git a/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.cpp b/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.cpp
index cf0d4021c77..38ce436f69a 100644
--- a/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.cpp
+++ b/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.cpp
@@ -44,15 +44,15 @@ namespace TAO
TAO_END_VERSIONED_NAMESPACE_DECL
-namespace TAO
-{
- ACE_STATIC_SVC_DEFINE (
- ORT_Adapter_Factory_Impl,
- ACE_TEXT ("Concrete_ORT_Adapter_Factory"),
- ACE_SVC_OBJ_T,
- &ACE_SVC_NAME (ORT_Adapter_Factory_Impl),
- ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
- 0)
-
- ACE_FACTORY_DEFINE (TAO_ORT, ORT_Adapter_Factory_Impl)
-}
+ACE_STATIC_SVC_DEFINE (
+ ORT_Adapter_Factory_Impl,
+ ACE_TEXT ("Concrete_ORT_Adapter_Factory"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (ORT_Adapter_Factory_Impl),
+ ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
+ 0)
+
+ACE_FACTORY_NAMESPACE_DEFINE (
+ TAO_ORT,
+ ORT_Adapter_Factory_Impl,
+ TAO::ORT_Adapter_Factory_Impl)
diff --git a/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h b/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h
index b93313b0c32..e9cc8aaeff8 100644
--- a/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h
+++ b/TAO/tao/ObjRefTemplate/ORT_Adapter_Factory_Impl.h
@@ -58,11 +58,9 @@ static int TAO_Requires_ORTFactory_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)
-}
+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"