summaryrefslogtreecommitdiff
path: root/TAO/tao/Resource_Factory.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
commitc20c95d4d526d887c9782960a3ff73f63c3c1c85 (patch)
treefd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/Resource_Factory.cpp
parent3d20d6aedf2b56b86fe2a386777c7afbf1c19c93 (diff)
downloadATCD-c20c95d4d526d887c9782960a3ff73f63c3c1c85.tar.gz
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Resource_Factory.cpp')
-rw-r--r--TAO/tao/Resource_Factory.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/TAO/tao/Resource_Factory.cpp b/TAO/tao/Resource_Factory.cpp
index 998a7c546fa..4574eb0730d 100644
--- a/TAO/tao/Resource_Factory.cpp
+++ b/TAO/tao/Resource_Factory.cpp
@@ -1,19 +1,15 @@
// $Id$
+#include "Resource_Factory.h"
+#include "Protocol_Factory.h"
+#include "orbconf.h"
-#include "ace/Auto_Ptr.h"
#include "ace/Dynamic_Service.h"
-#include "tao/Resource_Factory.h"
-#include "tao/Protocol_Factory.h"
-#include "tao/Client_Strategy_Factory.h"
-
-
ACE_RCSID (tao,
Resource_Factory,
"$Id$")
-
// ****************************************************************
TAO_Protocol_Item::TAO_Protocol_Item (const ACE_CString &name)
@@ -26,7 +22,9 @@ TAO_Protocol_Item::TAO_Protocol_Item (const ACE_CString &name)
TAO_Protocol_Item::~TAO_Protocol_Item (void)
{
if (this->factory_owner_ == 1)
- delete this->factory_;
+ {
+ delete this->factory_;
+ }
}
const ACE_CString &