summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-08-20 14:41:22 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-08-20 14:41:22 +0200
commitfefa0d5f1850d0f1e633c4182702698ce64f6eb8 (patch)
treefc48c3c45125d16ca82e781481d7350bbd7cdc81 /TAO/tao/DynamicInterface
parent78bb4ae0df5461dcfd5303a02c63fc2fb8fd82d2 (diff)
downloadATCD-fefa0d5f1850d0f1e633c4182702698ce64f6eb8.tar.gz
Layout and true/false changes
* ACE/ace/INET_Addr.cpp: * TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.cpp: * TAO/tao/DynamicInterface/DII_Arguments.cpp: * TAO/tao/DynamicInterface/Server_Request.cpp:
Diffstat (limited to 'TAO/tao/DynamicInterface')
-rw-r--r--TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.cpp6
-rw-r--r--TAO/tao/DynamicInterface/DII_Arguments.cpp1
-rw-r--r--TAO/tao/DynamicInterface/Server_Request.cpp2
3 files changed, 4 insertions, 5 deletions
diff --git a/TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.cpp b/TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.cpp
index 2b421eb3c91..bd5ebe7efa6 100644
--- a/TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.cpp
+++ b/TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.cpp
@@ -411,7 +411,7 @@ TAO_AMH_DSI_Response_Handler::gateway_exception_reply (
this->_tao_out.write_char_array (encap.buffer (),
ACE_Utils::truncate_cast<ACE_CDR::ULong> (encap.length ()));
// This will prevent the marshaling of any parameters into this reply.
- // this->sent_gateway_exception_ = 1;
+ // this->sent_gateway_exception_ = true;
this->_tao_rh_send_reply ();
}
catch (const CORBA::Exception &)
@@ -456,7 +456,7 @@ TAO_AMH_DSI_Response_Handler::gateway_exception_reply (
// to the original source of the reply.
this->_tao_out.write_octet_array_mb (encap.start());
// This will prevent the marshaling of any parameters into this reply.
- // this->sent_gateway_exception_ = 1;
+ // this->sent_gateway_exception_ = true;
this->_tao_rh_send_reply ();
}
catch (const CORBA::Exception &)
@@ -484,7 +484,7 @@ TAO_AMH_DSI_Response_Handler::_unchecked_narrow (CORBA::Object_ptr obj)
if (CORBA::is_nil (obj))
return TAO_AMH_DSI_Response_Handler::_nil ();
- return dynamic_cast < TAO_AMH_DSI_Response_Handler_ptr > (obj);
+ return dynamic_cast <TAO_AMH_DSI_Response_Handler_ptr> (obj);
}
const char*
diff --git a/TAO/tao/DynamicInterface/DII_Arguments.cpp b/TAO/tao/DynamicInterface/DII_Arguments.cpp
index d95e1c7ab1b..7ca4ea488b9 100644
--- a/TAO/tao/DynamicInterface/DII_Arguments.cpp
+++ b/TAO/tao/DynamicInterface/DII_Arguments.cpp
@@ -59,7 +59,6 @@ namespace TAO
CORBA::Boolean
NVList_Argument::demarshal (TAO_InputCDR &cdr)
{
-
try
{
// Now, get all the "return", "out", and "inout" parameters
diff --git a/TAO/tao/DynamicInterface/Server_Request.cpp b/TAO/tao/DynamicInterface/Server_Request.cpp
index e946d3179b8..6c4fcd680da 100644
--- a/TAO/tao/DynamicInterface/Server_Request.cpp
+++ b/TAO/tao/DynamicInterface/Server_Request.cpp
@@ -37,7 +37,7 @@ CORBA::ServerRequest::_decr_refcount (void)
}
CORBA::ServerRequest::ServerRequest (TAO_ServerRequest &orb_server_request)
- : lazy_evaluation_ (0),
+ : lazy_evaluation_ (false),
ctx_ (CORBA::Context::_nil ()),
params_ (CORBA::NVList::_nil ()),
retval_ (0),