summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/FtRtEvent
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2017-01-05 18:10:11 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2017-01-05 18:10:11 +0100
commit7d8b0feae4bb77d4867eeaba358f690f6d0075e9 (patch)
tree7ec005b72a4b9b8f1cd7d160a1700497c3d15dd2 /TAO/orbsvcs/orbsvcs/FtRtEvent
parent283fb56eae1580dd83d1a6d67f3caf0dfb8f4ad4 (diff)
downloadATCD-7d8b0feae4bb77d4867eeaba358f690f6d0075e9.tar.gz
More const any extraction
* TAO/TAO_IDL/be/be_visitor_any_extracted_type_decl.cpp: * TAO/orbsvcs/FT_ReplicationManager/FT_Property_Validator.cpp: * TAO/orbsvcs/FT_ReplicationManager/FT_ReplicationManagerFaultAnalyzer.cpp: * TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp: * TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Request_Context_Repository.cpp: * TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Set_Update_Interceptor.cpp: * TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set_Find.h: * TAO/tests/IDL_Test/main.cpp:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/FtRtEvent')
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp4
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Request_Context_Repository.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Set_Update_Interceptor.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp
index 46bda339433..d78e8d93725 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Event_Channel_Impl.cpp
@@ -254,7 +254,7 @@ TAO_FTEC_Event_Channel_Impl::connect_push_consumer (
CORBA::Any_var any
= Request_Context_Repository().get_cached_result();
- FtRtecEventChannelAdmin::ObjectId *oid;
+ const FtRtecEventChannelAdmin::ObjectId *oid = 0;
if (any.in() >>= oid) {
FtRtecEventChannelAdmin::ObjectId* result;
@@ -290,7 +290,7 @@ TAO_FTEC_Event_Channel_Impl::connect_push_supplier (
CORBA::Any_var any
= Request_Context_Repository().get_cached_result();
- FtRtecEventChannelAdmin::ObjectId *oid;
+ const FtRtecEventChannelAdmin::ObjectId *oid = 0;
if (any.in() >>= oid) {
FtRtecEventChannelAdmin::ObjectId* result;
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Request_Context_Repository.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Request_Context_Repository.cpp
index d187dcbbf7b..a95575bb02c 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Request_Context_Repository.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Request_Context_Repository.cpp
@@ -63,7 +63,7 @@ Request_Context_Repository::set_object_id(
FtRtecEventChannelAdmin::ObjectId_var
get_object_id(CORBA::Any_var a)
{
- FtRtecEventChannelAdmin::ObjectId *object_id, *r;
+ const FtRtecEventChannelAdmin::ObjectId *object_id, *r;
FtRtecEventChannelAdmin::ObjectId_var result;
if ((a.in() >>= object_id) ==0)
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Set_Update_Interceptor.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Set_Update_Interceptor.cpp
index e8db0df6b9f..001c0053dd4 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Set_Update_Interceptor.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Set_Update_Interceptor.cpp
@@ -45,7 +45,7 @@ TAO_Set_Update_Interceptor::send_request (
{
CORBA::Any_var a = Request_Context_Repository().get_ft_request_service_context(ri);
- IOP::ServiceContext* sc;
+ const IOP::ServiceContext* sc = 0;
if ((a.in() >>= sc) ==0)
return;