summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify
diff options
context:
space:
mode:
authorsma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-19 14:46:44 +0000
committersma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-19 14:46:44 +0000
commit23a2da2849c041677004a4bf1f19506aa5b0e083 (patch)
treea440384b5d3510e8b9281a23e766ae9b6975d4b2 /TAO/orbsvcs/examples/Notify
parent818a3e2559f194e1e1079852caed1d32e975b94b (diff)
downloadATCD-23a2da2849c041677004a4bf1f19506aa5b0e083.tar.gz
ChangeLogTag: Thu Jun 19 14:46:00 UTC 2008 Simon Massey <sma at prismtech dot com>
Diffstat (limited to 'TAO/orbsvcs/examples/Notify')
-rw-r--r--TAO/orbsvcs/examples/Notify/Filter/Filter.cpp7
-rw-r--r--TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp6
-rw-r--r--TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp6
-rw-r--r--TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.cpp7
-rw-r--r--TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp6
-rw-r--r--TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp6
6 files changed, 12 insertions, 26 deletions
diff --git a/TAO/orbsvcs/examples/Notify/Filter/Filter.cpp b/TAO/orbsvcs/examples/Notify/Filter/Filter.cpp
index aeb872a8b54..61529edd7c0 100644
--- a/TAO/orbsvcs/examples/Notify/Filter/Filter.cpp
+++ b/TAO/orbsvcs/examples/Notify/Filter/Filter.cpp
@@ -68,12 +68,9 @@ FilterClient::done (void)
}
void
-FilterClient::init_ORB (int argc,
- char *argv [])
+FilterClient::init_ORB (int argc, char *argv [])
{
- this->orb_ = CORBA::ORB_init (argc,
- argv,
- "");
+ this->orb_ = CORBA::ORB_init (argc, argv);
CORBA::Object_ptr poa_object =
this->orb_->resolve_initial_references("RootPOA");
diff --git a/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp b/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp
index c1b49f18963..83f0c7ce8dc 100644
--- a/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp
@@ -190,14 +190,12 @@ TAO_Notify_Lanes_Consumer_Client::svc (void)
}
int
-ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
try
{
// Initialize an ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc,
- argv,
- "");
+ CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
TAO_Notify_ORB_Objects orb_objects;
diff --git a/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp b/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp
index bb8bdd46479..c540938cac3 100644
--- a/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp
@@ -196,14 +196,12 @@ TAO_Notify_Lanes_Supplier_Client::svc (void)
}
int
-ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
try
{
// Initialize an ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc,
- argv,
- "");
+ CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
// Create a holder for the common ORB Objects.
TAO_Notify_ORB_Objects orb_objects;
diff --git a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.cpp b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.cpp
index bf9b59f62fd..d84fb147ec4 100644
--- a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.cpp
+++ b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.cpp
@@ -63,12 +63,9 @@ Subscribe::done (void)
}
void
-Subscribe::init_ORB (int argc,
- char *argv [])
+Subscribe::init_ORB (int argc, char *argv [])
{
- this->orb_ = CORBA::ORB_init (argc,
- argv,
- "");
+ this->orb_ = CORBA::ORB_init (argc, argv);
CORBA::Object_ptr poa_object =
this->orb_->resolve_initial_references("RootPOA");
diff --git a/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp b/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp
index 9c0485e5420..b5a41fe1203 100644
--- a/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp
@@ -194,14 +194,12 @@ TAO_Notify_ThreadPool_Consumer_Client::svc (void)
}
int
-ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
try
{
// Initialize an ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc,
- argv,
- "");
+ CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
TAO_Notify_ORB_Objects orb_objects;
diff --git a/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp b/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp
index 3fe4cd65867..6d57b4f85f5 100644
--- a/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp
@@ -193,14 +193,12 @@ TAO_Notify_ThreadPool_Supplier_Client::svc (void)
}
int
-ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
try
{
// Initialize an ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc,
- argv,
- "");
+ CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
// Create a holder for the common ORB Objects.
TAO_Notify_ORB_Objects orb_objects;