diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2017-01-05 16:44:59 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2017-01-05 16:44:59 +0100 |
commit | 283fb56eae1580dd83d1a6d67f3caf0dfb8f4ad4 (patch) | |
tree | 8e050a0b741746453d6c60125e65cc50926a3755 /TAO/interop-tests | |
parent | 09579a9740d859943864bba5633485ed160f8b9c (diff) | |
download | ATCD-283fb56eae1580dd83d1a6d67f3caf0dfb8f4ad4.tar.gz |
Fixed code due to removal of the non const Any extraction
* TAO/docs/tutorials/Quoter/Event_Service/Stock_Consumer.cpp:
* TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp:
* TAO/examples/Kokyu_dsrt_schedulers/MIF_Scheduler.cpp:
* TAO/examples/Kokyu_dsrt_schedulers/MUF_Scheduler.cpp:
* TAO/interop-tests/AnyTypeCode/tao/Demo_i.cpp:
* TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadManager.cpp:
* TAO/orbsvcs/orbsvcs/PortableGroup/PG_Default_Property_Validator.cpp:
* TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirer.cpp:
* TAO/orbsvcs/orbsvcs/Security/SL3_PolicyFactory.cpp:
* TAO/orbsvcs/orbsvcs/Security/Security_PolicyFactory.cpp:
* TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp:
* TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/idl3_client.cpp:
* TAO/orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp:
* TAO/orbsvcs/tests/Trading/TT_Info.cpp:
* TAO/performance-tests/Anyop/anyop.cpp:
* TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp:
* TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp:
* TAO/tests/Any/Recursive/client.cpp:
* TAO/tests/Bug_2678_Regression/client.cpp:
* TAO/tests/Bug_2678_Regression/server.cpp:
* TAO/tests/Bug_2804_Regression/client.cpp:
* TAO/tests/Bug_2844_Regression/client.cpp:
* TAO/tests/Bug_2918_Regression/client.cpp:
* TAO/tests/Bug_3506_Regression/server.cpp:
* TAO/tests/Bug_3552_Regression/check.cpp:
* TAO/tests/Bug_3919_Regression/client.cpp:
* TAO/tests/Codec/client.cpp:
* TAO/tests/DynAny_Test/test_dynany.cpp:
* TAO/tests/DynAny_Test/test_dynsequence.cpp:
* TAO/tests/DynAny_Test/test_dynstruct.cpp:
* TAO/tests/Param_Test/any.cpp:
* TAO/tests/Param_Test/anyop.cpp:
* TAO/tests/Param_Test/bd_array_seq.cpp:
* TAO/tests/Param_Test/bd_short_seq.cpp:
* TAO/tests/Param_Test/bd_struct_seq.cpp:
* TAO/tests/Param_Test/big_union.cpp:
* TAO/tests/Param_Test/complex_any.cpp:
* TAO/tests/Param_Test/except.cpp:
* TAO/tests/Param_Test/fixed_struct.cpp:
* TAO/tests/Param_Test/nested_struct.cpp:
* TAO/tests/Param_Test/objref_struct.cpp:
* TAO/tests/Param_Test/recursive_struct.cpp:
* TAO/tests/Param_Test/recursive_union.cpp:
* TAO/tests/Param_Test/small_union.cpp:
* TAO/tests/Param_Test/ub_any_seq.cpp:
* TAO/tests/Param_Test/ub_array_seq.cpp:
* TAO/tests/Param_Test/ub_long_seq.cpp:
* TAO/tests/Param_Test/ub_objref_seq.cpp:
* TAO/tests/Param_Test/ub_short_seq.cpp:
* TAO/tests/Param_Test/ub_str_seq.cpp:
* TAO/tests/Param_Test/ub_struct_seq.cpp:
* TAO/tests/Param_Test/ub_wstr_seq.cpp:
* TAO/tests/Param_Test/var_struct.cpp:
* TAO/tests/Portable_Interceptors/Benchmark/client_interceptors.cpp:
* TAO/tests/Portable_Interceptors/Benchmark/server_interceptors.cpp:
* TAO/tests/Portable_Interceptors/Dynamic/client_interceptor.cpp:
Diffstat (limited to 'TAO/interop-tests')
-rw-r--r-- | TAO/interop-tests/AnyTypeCode/tao/Demo_i.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/interop-tests/AnyTypeCode/tao/Demo_i.cpp b/TAO/interop-tests/AnyTypeCode/tao/Demo_i.cpp index 1832c0e368d..b0c7a59fe9c 100644 --- a/TAO/interop-tests/AnyTypeCode/tao/Demo_i.cpp +++ b/TAO/interop-tests/AnyTypeCode/tao/Demo_i.cpp @@ -44,7 +44,7 @@ ATC_Test_i::~ATC_Test_i (void) char * ATC_Test_i::do_union (const ::CORBA::Any & a) { - Demo::NestedUnion *any_union; + const Demo::NestedUnion *any_union = 0; const char *result = "do_union called"; if (a >>= any_union) { @@ -104,7 +104,7 @@ ATC_Test_i::do_union (const ::CORBA::Any & a) char * ATC_Test_i::do_struct (const ::CORBA::Any & a) { - Demo::NestedStruct *bar; + const Demo::NestedStruct *bar = 0; const char *result = "do_struct called"; if (a >>= bar) { |