summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-10 21:34:28 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-10 21:34:28 +0000
commiteb576dd3315bc63be791fa935aed647656ad73f5 (patch)
tree700f9df558c61894182383dc94df13deeb446ff7 /TAO/orbsvcs/examples
parent6b9bc03eb8321429a2251b4d8daa4943c75e2222 (diff)
downloadATCD-eb576dd3315bc63be791fa935aed647656ad73f5.tar.gz
ChangeLogTag:Fri Sep 10 11:20:47 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/examples')
-rw-r--r--TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp b/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp
index 946fec75f6b..4846a36ea71 100644
--- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp
+++ b/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp
@@ -99,9 +99,12 @@ FactoryDriver::start (int argc, char *argv [])
"the TAO_Naming_Client. \n"),
1);
+ CosNaming::NamingContext_var context =
+ naming_client_.get_context ();
+
if (factory_servant_->init (root_poa_.in (),
child_poa_name_,
- naming_client_.get_context (),
+ context.in (),
ACE_TRY_ENV) != 0)
ACE_ERROR_RETURN ((LM_ERROR,
"(%P|%t) Unable to initialize "