summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/Current/Current.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/POA/Current/Current.cpp')
-rw-r--r--TAO/tests/POA/Current/Current.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/TAO/tests/POA/Current/Current.cpp b/TAO/tests/POA/Current/Current.cpp
index a81a636773a..2018bc00f13 100644
--- a/TAO/tests/POA/Current/Current.cpp
+++ b/TAO/tests/POA/Current/Current.cpp
@@ -29,21 +29,16 @@ main (int argc, char **argv)
try
{
// Initialize the ORB first.
- CORBA::ORB_var orb =
- CORBA::ORB_init (argc,
- argv,
- 0);
+ CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
CORBA::Object_var object;
- object =
- orb->resolve_initial_references ("POACurrent");
+ object = orb->resolve_initial_references ("POACurrent");
PortableServer::Current_var current =
PortableServer::Current::_narrow (object.in ());
- object =
- orb->resolve_initial_references ("RootPOA");
+ object = orb->resolve_initial_references ("RootPOA");
PortableServer::POA_var root_poa =
PortableServer::POA::_narrow (object.in ());