summaryrefslogtreecommitdiff
path: root/TAO/examples/Load_Balancing
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-10-24 15:59:57 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-10-24 15:59:57 +0000
commit77514a55589ec9f60354b1960af4b6afc52c45dc (patch)
treeb178805c85ed837f763dd4881fee30e271b6981e /TAO/examples/Load_Balancing
parentd9e5dded8fdbcff420aa88fa27feee5a567f3b97 (diff)
downloadATCD-77514a55589ec9f60354b1960af4b6afc52c45dc.tar.gz
ChangeLogTag: Thu Oct 24 10:59:20 2002 Jeff Parsons <parsons@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/examples/Load_Balancing')
-rw-r--r--TAO/examples/Load_Balancing/Identity_Server.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/Load_Balancing/Identity_Server.cpp b/TAO/examples/Load_Balancing/Identity_Server.cpp
index dfc94035395..394c69643f0 100644
--- a/TAO/examples/Load_Balancing/Identity_Server.cpp
+++ b/TAO/examples/Load_Balancing/Identity_Server.cpp
@@ -107,7 +107,8 @@ Identity_Server::init (int argc,
"Group with id <Identity, Random>\n"));
Load_Balancer::Object_Group_var random_group =
- factory->make_random ("Identity, Random"
+ factory->make_random (ACE_const_cast (const Load_Balancer::Group_ID,
+ "Identity, Random")
ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
@@ -116,7 +117,8 @@ Identity_Server::init (int argc,
"Object Group with id <Identity, Round Robin>\n"));
Load_Balancer::Object_Group_var rr_group =
- factory->make_round_robin ("Identity, Round Robin"
+ factory->make_round_robin (ACE_const_cast (const Load_Balancer::Group_ID,
+ "Identity, Round Robin")
ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;