diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-09-16 13:49:49 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-09-16 13:49:49 +0200 |
commit | 53b3dd4d14ef7f317394d2cb0d0bc72212b52d09 (patch) | |
tree | 8a93d186c2355bbea87f59cef86d99fca128df0b /TAO/tao/Messaging | |
parent | cf17fe5fa4028d4010d1223f1af8c5750216b690 (diff) | |
download | ATCD-53b3dd4d14ef7f317394d2cb0d0bc72212b52d09.tar.gz |
Use const exception data pointer when using invoke, not changed by the implementation, only used
* TAO/orbsvcs/orbsvcs/SSLIOP/params_dup.c:
* TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp:
* TAO/tao/DynamicInterface/DII_Invocation_Adapter.h:
* TAO/tao/Invocation_Adapter.cpp:
* TAO/tao/Invocation_Adapter.h:
* TAO/tao/Messaging/Asynch_Invocation_Adapter.cpp:
* TAO/tao/Messaging/Asynch_Invocation_Adapter.h:
* TAO/tao/operation_details.h:
* TAO/tao/operation_details.inl:
Diffstat (limited to 'TAO/tao/Messaging')
-rw-r--r-- | TAO/tao/Messaging/Asynch_Invocation_Adapter.cpp | 5 | ||||
-rw-r--r-- | TAO/tao/Messaging/Asynch_Invocation_Adapter.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tao/Messaging/Asynch_Invocation_Adapter.cpp b/TAO/tao/Messaging/Asynch_Invocation_Adapter.cpp index 67accf14266..81a643b90ec 100644 --- a/TAO/tao/Messaging/Asynch_Invocation_Adapter.cpp +++ b/TAO/tao/Messaging/Asynch_Invocation_Adapter.cpp @@ -104,9 +104,8 @@ namespace TAO void Asynch_Invocation_Adapter::invoke ( - TAO::Exception_Data *ex, - unsigned long ex_count - ) + const TAO::Exception_Data *ex, + unsigned long ex_count) { Invocation_Adapter::invoke (ex, ex_count ); } diff --git a/TAO/tao/Messaging/Asynch_Invocation_Adapter.h b/TAO/tao/Messaging/Asynch_Invocation_Adapter.h index eaa14985196..22fa8f7bd7f 100644 --- a/TAO/tao/Messaging/Asynch_Invocation_Adapter.h +++ b/TAO/tao/Messaging/Asynch_Invocation_Adapter.h @@ -71,7 +71,7 @@ namespace TAO void invoke (Messaging::ReplyHandler_ptr reply_handler_ptr, const TAO_Reply_Handler_Stub &reply_handler_stub); - virtual void invoke (TAO::Exception_Data *ex, unsigned long ex_count); + virtual void invoke (const TAO::Exception_Data *ex, unsigned long ex_count); protected: virtual Invocation_Status invoke_twoway ( |