summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
commitc801f87e59c00f72bdeb5ce7bd0d276674665bac (patch)
tree70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h
parent98c0b37d4714ff774fc3ada8c9ee893c719af714 (diff)
downloadATCD-c801f87e59c00f72bdeb5ce7bd0d276674665bac.tar.gz
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h')
-rw-r--r--TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h b/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h
index bdc6c2ab5b3..a81979cc07f 100644
--- a/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h
+++ b/TAO/performance-tests/CSD_Strategy/TestInf/AppHelper.h
@@ -16,12 +16,11 @@ struct RefHelper
typedef typename T::_ptr_type T_ptr;
typedef typename T::_var_type T_var;
- static T_ptr string_to_ref(CORBA::ORB_ptr orb,
- const char* ior
+ static T_ptr string_to_ref(CORBA::ORB_ptr orb,
+ const char* ior
ACE_ENV_ARG_DECL)
{
CORBA::Object_var obj = orb->string_to_object(ior ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN(T::_nil ());
if (CORBA::is_nil(obj.in()))
{
@@ -31,7 +30,6 @@ struct RefHelper
}
T_var t_obj = T::_narrow(obj.in() ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN(T::_nil ());
if (CORBA::is_nil(t_obj.in()))
{
@@ -43,13 +41,12 @@ struct RefHelper
return t_obj._retn();
}
- static T_ptr resolve_initial_ref(CORBA::ORB_ptr orb,
+ static T_ptr resolve_initial_ref(CORBA::ORB_ptr orb,
const char* name
ACE_ENV_ARG_DECL)
{
- CORBA::Object_var obj
+ CORBA::Object_var obj
= orb->resolve_initial_references(name ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (T::_nil ());
if (CORBA::is_nil(obj.in()))
{
@@ -60,7 +57,6 @@ struct RefHelper
}
T_var t_obj = T::_narrow(obj.in() ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (T::_nil ());
if (CORBA::is_nil(t_obj.in()))