summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-10-20 12:51:07 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-10-20 12:51:07 +0000
commit7b4c17792bcd61eceacba9dbd3913d56eb12f195 (patch)
tree73149fe00b8717a7dc5a6855bd62c6988dd1f3ba
parentb688548fa3e125d046b1188a8cb2942bff4384f1 (diff)
downloadATCD-7b4c17792bcd61eceacba9dbd3913d56eb12f195.tar.gz
Const fixes
-rw-r--r--TAO/tao/ORB_Core.cpp2
-rw-r--r--TAO/tao/TAO_Server_Request.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index ff5063de97a..774271bdfa5 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -782,7 +782,7 @@ TAO_ORB_Core::init (int &argc, char *argv[] )
else if (0 != (current_arg = arg_shifter.get_the_parameter
(ACE_TEXT("-ORBAMICollocation"))))
{
- int ami_collocation = ACE_OS::atoi (current_arg);
+ int const ami_collocation = ACE_OS::atoi (current_arg);
if (ami_collocation)
this->orb_params ()->ami_collication (true);
else
diff --git a/TAO/tao/TAO_Server_Request.cpp b/TAO/tao/TAO_Server_Request.cpp
index 72b8a2120db..b1c13838012 100644
--- a/TAO/tao/TAO_Server_Request.cpp
+++ b/TAO/tao/TAO_Server_Request.cpp
@@ -322,9 +322,9 @@ TAO_ServerRequest::send_no_exception_reply (void)
this->outgoing_->more_fragments (false);
// Send the message.
- int result = this->transport_->send_message (*this->outgoing_,
- 0,
- TAO_REPLY);
+ int const result = this->transport_->send_message (*this->outgoing_,
+ 0,
+ TAO_REPLY);
if (result == -1)
{