diff options
-rw-r--r-- | TAO/tao/ORB_Core.cpp | 2 | ||||
-rw-r--r-- | TAO/tao/TAO_Server_Request.cpp | 6 |
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) { |