summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/TAO.cpp4
-rw-r--r--TAO/tao/TAO.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/TAO.cpp b/TAO/tao/TAO.cpp
index ee05cb69b7e..441983eeccf 100644
--- a/TAO/tao/TAO.cpp
+++ b/TAO/tao/TAO.cpp
@@ -29,7 +29,7 @@ TAO_ORB_Manager::TAO_ORB_Manager (CORBA::ORB_ptr orb,
// poa_name is a user-supplied string that is used to name the POA
// created.
int
-TAO_ORB_Manager::init (int argc,
+TAO_ORB_Manager::init (int& argc,
char **argv,
CORBA::Environment &env)
{
@@ -76,7 +76,7 @@ TAO_ORB_Manager::init (int argc,
// Initialize the child poa.
int
-TAO_ORB_Manager::init_child_poa (int argc,
+TAO_ORB_Manager::init_child_poa (int& argc,
char **argv,
char *poa_name,
CORBA_Environment &env)
diff --git a/TAO/tao/TAO.h b/TAO/tao/TAO.h
index 8f30943723a..211e0188ff0 100644
--- a/TAO/tao/TAO.h
+++ b/TAO/tao/TAO.h
@@ -37,13 +37,13 @@ public:
~TAO_ORB_Manager (void);
// Destructor.
- int init (int argc,
+ int init (int& argc,
char *argv[],
CORBA_Environment &env);
// Initialize the ORB/root POA, using the supplied command line
// arguments or the default ORB components. Returns -1 on failure.
- int init_child_poa (int argc,
+ int init_child_poa (int& argc,
char *argv[],
char *poa_name,
CORBA_Environment &env);