summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2018-09-16 13:49:49 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2018-09-16 13:49:49 +0200
commit53b3dd4d14ef7f317394d2cb0d0bc72212b52d09 (patch)
tree8a93d186c2355bbea87f59cef86d99fca128df0b /TAO/tao/DynamicInterface
parentcf17fe5fa4028d4010d1223f1af8c5750216b690 (diff)
downloadATCD-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/DynamicInterface')
-rw-r--r--TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp4
-rw-r--r--TAO/tao/DynamicInterface/DII_Invocation_Adapter.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp b/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp
index 4de7ddaa17a..eb49f2d14d6 100644
--- a/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp
+++ b/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp
@@ -49,7 +49,7 @@ namespace TAO
}
void
- DII_Invocation_Adapter::invoke (TAO::Exception_Data * /*ex_data*/,
+ DII_Invocation_Adapter::invoke (const TAO::Exception_Data * /*ex_data*/,
unsigned long ex_count)
{
// Convert DII exception list to a form the invocation can use
@@ -174,7 +174,7 @@ namespace TAO
void
DII_Deferred_Invocation_Adapter::invoke (
- TAO::Exception_Data *ex,
+ const TAO::Exception_Data *ex,
unsigned long ex_count)
{
// New reply dispatcher on the heap, because we will go out of
diff --git a/TAO/tao/DynamicInterface/DII_Invocation_Adapter.h b/TAO/tao/DynamicInterface/DII_Invocation_Adapter.h
index a1677cdc5b3..94edab69fb4 100644
--- a/TAO/tao/DynamicInterface/DII_Invocation_Adapter.h
+++ b/TAO/tao/DynamicInterface/DII_Invocation_Adapter.h
@@ -93,7 +93,7 @@ namespace TAO
virtual ~DII_Invocation_Adapter (void);
/// Invoke the target
- virtual void invoke (TAO::Exception_Data *ex, unsigned long ex_count);
+ virtual void invoke (const TAO::Exception_Data *ex, unsigned long ex_count);
protected:
@@ -147,7 +147,7 @@ namespace TAO
TAO::Invocation_Mode mode = TAO_DII_DEFERRED_INVOCATION);
/// Invoke the target
- 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 (