summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-09 00:13:51 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-09 00:13:51 +0000
commit3f50d14dc346ae748977b1c1a1fcaf73384043f1 (patch)
tree30df3dda871b357af4e5057c6a9642e1306b6727 /TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp
parent6d299db3121661b394e03a105ee2c6eaeca11431 (diff)
downloadATCD-3f50d14dc346ae748977b1c1a1fcaf73384043f1.tar.gz
ChangeLogTag:Fri Mar 8 19:01:33 2002 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp')
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp b/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp
index 9eaa769b3a4..20a6985ee68 100644
--- a/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp
+++ b/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Baseline/server.cpp
@@ -90,11 +90,7 @@ int main (int argc, char *argv[])
poa_manager->activate (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
- PortableServer::POA_var the_poa = root_poa;
- if (use_rt_corba)
- {
- the_poa = rtserver_setup.poa ();
- }
+ PortableServer::POA_var the_poa (rtserver_setup.poa ());
Servant_var<Roundtrip> roundtrip (new Roundtrip (orb));