diff options
Diffstat (limited to 'TAO/tests/Quoter/Generic_Factory_Impl.cpp')
-rw-r--r-- | TAO/tests/Quoter/Generic_Factory_Impl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tests/Quoter/Generic_Factory_Impl.cpp b/TAO/tests/Quoter/Generic_Factory_Impl.cpp index f312fb9849c..f498a560d08 100644 --- a/TAO/tests/Quoter/Generic_Factory_Impl.cpp +++ b/TAO/tests/Quoter/Generic_Factory_Impl.cpp @@ -104,11 +104,11 @@ Quoter_Generic_Factory_Impl::create_object (const CosLifeCycle::Key &factory_key // ** now a proper reference to the quoter naming context is available // Fill in the name of the Quoter Factory. - CosNaming::Name factory_Name (1); // max = 1 - factory_Name.length (1); - factory_Name[0].id = CORBA::string_dup ("Quoter_Factory"); - // or Take the key supplied to search for a Quoter Factory - //CosNaming::Name factoryName = (CosNaming::Name) factory_key; + //CosNaming::Name factory_Name (1); // max = 1 + //factory_Name.length (1); + //factory_Name[0].id = CORBA::string_dup ("Quoter_Factory"); + // Take the key supplied to search for a Quoter Factory + CosNaming::Name factory_Name = (CosNaming::Name) factory_key; // Try to get a reference to a Quoter Factory CORBA::Object_var quoterFactoryObject_var = |