summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/LifeCycle_Service
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-10-24 15:40:59 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-10-24 15:40:59 +0000
commit01130894cf77413f8a38b4449b55a912c04b3007 (patch)
tree08c9cab83a96267c36911d95e3085ce9f15e35b1 /TAO/orbsvcs/LifeCycle_Service
parentacf7d9d7144e389fdb3012c1361d8124151a3033 (diff)
downloadATCD-01130894cf77413f8a38b4449b55a912c04b3007.tar.gz
ChangeLogTag: Thu Oct 24 10:39:10 2002 Jeff Parsons <parsons@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/LifeCycle_Service')
-rw-r--r--TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp b/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp
index 559e68ecc78..fc5b618a4c4 100644
--- a/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp
+++ b/TAO/orbsvcs/LifeCycle_Service/Factory_Trader.cpp
@@ -28,7 +28,8 @@ ACE_RCSID(LifeCycle_Service, Factory_Trader, "$Id$")
// the added types will be subclasses of this.
const CosTrading::ServiceTypeName
Factory_Trader::GENERIC_FACTORY_INTERFACE_REPOSITORY_ID =
- "IDL:omg.org/CosLifeCycle/GenericFactory:1.0";
+ ACE_const_cast (const CosTrading::ServiceTypeName,
+ "IDL:omg.org/CosLifeCycle/GenericFactory:1.0");
Factory_Trader::Factory_Trader (int debug_level)
@@ -185,9 +186,11 @@ Factory_Trader::query (const CosTrading::Constraint constraint)
// this pointer is deleted when the trader_ptr is deleted
// Invoke the query method on the Lookup Interface.
- lookup_ptr->query ("GenericFactory", // Type name
+ lookup_ptr->query (ACE_const_cast (const CosTrading::ServiceTypeName,
+ "GenericFactory"), // Type name
constraint, // Constraint, very important
- "", // Preferences
+ ACE_const_cast (const CosTrading::Lookup::Preference,
+ ""), // Preferences
policySeq, // Policy
specifiedProps, // Specified Properties
1, // Number of wanted results