summaryrefslogtreecommitdiff
path: root/TAO/performance-tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2017-01-05 16:44:59 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2017-01-05 16:44:59 +0100
commit283fb56eae1580dd83d1a6d67f3caf0dfb8f4ad4 (patch)
tree8e050a0b741746453d6c60125e65cc50926a3755 /TAO/performance-tests
parent09579a9740d859943864bba5633485ed160f8b9c (diff)
downloadATCD-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/performance-tests')
-rw-r--r--TAO/performance-tests/Anyop/anyop.cpp16
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp2
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp2
3 files changed, 10 insertions, 10 deletions
diff --git a/TAO/performance-tests/Anyop/anyop.cpp b/TAO/performance-tests/Anyop/anyop.cpp
index 58725a011ac..d7f0420654f 100644
--- a/TAO/performance-tests/Anyop/anyop.cpp
+++ b/TAO/performance-tests/Anyop/anyop.cpp
@@ -383,7 +383,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_hrtime_t now = ACE_OS::gethrtime ();
history.sample (now - start);
- Param_Test::Fixed_Struct *o;
+ const Param_Test::Fixed_Struct *o = 0;
result = any >>= o;
}
@@ -391,7 +391,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
any <<= i;
- Param_Test::Fixed_Struct *o;
+ const Param_Test::Fixed_Struct *o = 0;
ACE_hrtime_t start = ACE_OS::gethrtime ();
@@ -461,7 +461,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_hrtime_t now = ACE_OS::gethrtime ();
history.sample (now - start);
- Param_Test::Fixed_Struct *o;
+ const Param_Test::Fixed_Struct *o = 0;
result = any >>= o;
}
@@ -469,7 +469,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
any <<= i;
- Param_Test::Fixed_Struct *o;
+ const Param_Test::Fixed_Struct *o = 0;
ACE_hrtime_t start = ACE_OS::gethrtime ();
@@ -538,7 +538,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_hrtime_t now = ACE_OS::gethrtime ();
history.sample (now - start);
- Param_Test::Long_Seq *o;
+ const Param_Test::Long_Seq *o = 0;
result = any >>= o;
}
@@ -546,7 +546,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
any <<= i;
- Param_Test::Long_Seq *o;
+ const Param_Test::Long_Seq *o = 0;
ACE_hrtime_t start = ACE_OS::gethrtime ();
@@ -616,7 +616,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_hrtime_t now = ACE_OS::gethrtime ();
history.sample (now - start);
- Param_Test::Long_Seq *o;
+ const Param_Test::Long_Seq *o = 0;
result = any >>= o;
}
@@ -624,7 +624,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
any <<= i;
- Param_Test::Long_Seq *o;
+ const Param_Test::Long_Seq *o = 0;
ACE_hrtime_t start = ACE_OS::gethrtime ();
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
index 3769351bdb3..c64c7a5b63a 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
@@ -1064,7 +1064,7 @@ Cubit_Client::cube_any_struct (int i)
try
{
Cubit::Many arg_struct;
- Cubit::Many * ret_struct;
+ const Cubit::Many * ret_struct = 0;
this->call_count_++;
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp
index 265d0114025..80f56b7c9f8 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp
@@ -393,7 +393,7 @@ CORBA::Any *
Cubit_i::cube_any_struct (const CORBA::Any & any)
{
ACE_FUNCTION_TIMEPROBE (CUBIT_I_CUBE_ANY_STRUCT_START);
- Cubit::Many * arg_struct;
+ const Cubit::Many * arg_struct = 0;
Cubit::Many ret_struct;
any >>= arg_struct;