diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-10 21:34:28 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-10 21:34:28 +0000 |
commit | eb576dd3315bc63be791fa935aed647656ad73f5 (patch) | |
tree | 700f9df558c61894182383dc94df13deeb446ff7 /TAO/orbsvcs/examples | |
parent | 6b9bc03eb8321429a2251b4d8daa4943c75e2222 (diff) | |
download | ATCD-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.cpp | 5 |
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 " |