summaryrefslogtreecommitdiff
path: root/TAO/tao/AnyTypeCode/Sequence_TypeCode_Static.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/AnyTypeCode/Sequence_TypeCode_Static.cpp')
-rw-r--r--TAO/tao/AnyTypeCode/Sequence_TypeCode_Static.cpp26
1 files changed, 11 insertions, 15 deletions
diff --git a/TAO/tao/AnyTypeCode/Sequence_TypeCode_Static.cpp b/TAO/tao/AnyTypeCode/Sequence_TypeCode_Static.cpp
index 874fe38365b..ab5af126c49 100644
--- a/TAO/tao/AnyTypeCode/Sequence_TypeCode_Static.cpp
+++ b/TAO/tao/AnyTypeCode/Sequence_TypeCode_Static.cpp
@@ -64,54 +64,50 @@ CORBA::Boolean
TAO::TypeCode::Sequence<CORBA::TypeCode_ptr const *,
TAO::Null_RefCount_Policy>::equal_i (
CORBA::TypeCode_ptr tc
- ACE_ENV_ARG_DECL) const
+ ) const
{
// The following calls won't throw since CORBA::TypeCode::equal()
// has already established the kind of tc is the same as our kind.
- CORBA::ULong const tc_length = tc->length (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (0);
+ CORBA::ULong const tc_length = tc->length ();
if (this->length_ != tc_length)
return 0;
CORBA::TypeCode_var rhs_content_type =
- tc->content_type (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (0);
+ tc->content_type ();
return
Traits<CORBA::TypeCode_ptr const *>::get_typecode (this->content_type_)->equal (
rhs_content_type.in ()
- ACE_ENV_ARG_PARAMETER);
+ );
}
CORBA::Boolean
TAO::TypeCode::Sequence<CORBA::TypeCode_ptr const *,
TAO::Null_RefCount_Policy>::equivalent_i (
CORBA::TypeCode_ptr tc
- ACE_ENV_ARG_DECL) const
+ ) const
{
// The following calls won't throw since CORBA::TypeCode::equal()
// has already established the kind of tc is the same as our kind.
- CORBA::ULong const tc_length = tc->length (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (0);
+ CORBA::ULong const tc_length = tc->length ();
if (this->length_ != tc_length)
return 0;
CORBA::TypeCode_var rhs_content_type =
- tc->content_type (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (0);
+ tc->content_type ();
return
Traits<CORBA::TypeCode_ptr const *>::get_typecode (this->content_type_)->equivalent (
rhs_content_type.in ()
- ACE_ENV_ARG_PARAMETER);
+ );
}
CORBA::TypeCode_ptr
TAO::TypeCode::Sequence<CORBA::TypeCode_ptr const *,
TAO::Null_RefCount_Policy>::get_compact_typecode_i (
- ACE_ENV_SINGLE_ARG_DECL_NOT_USED) const
+ void) const
{
// Already compact since tk_sequence and tk_array TypeCodes have no
// name or member names, meaning that we can simply call
@@ -132,7 +128,7 @@ TAO::TypeCode::Sequence<CORBA::TypeCode_ptr const *,
CORBA::ULong
TAO::TypeCode::Sequence<CORBA::TypeCode_ptr const *,
TAO::Null_RefCount_Policy>::length_i (
- ACE_ENV_SINGLE_ARG_DECL_NOT_USED) const
+ void) const
{
return this->length_;
}
@@ -140,7 +136,7 @@ TAO::TypeCode::Sequence<CORBA::TypeCode_ptr const *,
CORBA::TypeCode_ptr
TAO::TypeCode::Sequence<CORBA::TypeCode_ptr const *,
TAO::Null_RefCount_Policy>::content_type_i (
- ACE_ENV_SINGLE_ARG_DECL_NOT_USED) const
+ void) const
{
return
CORBA::TypeCode::_duplicate (