summaryrefslogtreecommitdiff
path: root/TAO/tao/Var_Array_Argument_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Var_Array_Argument_T.cpp')
-rw-r--r--TAO/tao/Var_Array_Argument_T.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/TAO/tao/Var_Array_Argument_T.cpp b/TAO/tao/Var_Array_Argument_T.cpp
index 591995eb163..c7f04620b0a 100644
--- a/TAO/tao/Var_Array_Argument_T.cpp
+++ b/TAO/tao/Var_Array_Argument_T.cpp
@@ -23,8 +23,6 @@ TAO::In_Var_Array_Argument_T<S,S_slice,S_forany>::marshal (
return cdr << this->x_;
}
-#if TAO_HAS_INTERCEPTORS == 1
-
template<typename S, typename S_slice, typename S_forany>
void
TAO::In_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param (
@@ -35,8 +33,6 @@ TAO::In_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param (
p.mode = CORBA::PARAM_IN;
}
-#endif /* TAO_HAS_INTERCEPTORS */
-
// ===========================================================
template<typename S, typename S_slice, typename S_forany>
@@ -57,8 +53,6 @@ TAO::Inout_Var_Array_Argument_T<S,S_slice,S_forany>::demarshal (
return cdr >> this->x_;
}
-#if TAO_HAS_INTERCEPTORS == 1
-
template<typename S, typename S_slice, typename S_forany>
void
TAO::Inout_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param (
@@ -69,8 +63,6 @@ TAO::Inout_Var_Array_Argument_T<S,S_slice,S_forany>::interceptor_param (
p.mode = CORBA::PARAM_INOUT;
}
-#endif /* TAO_HAS_INTERCEPTORS */
-
// ==============================================================
template<typename S,
@@ -86,14 +78,12 @@ TAO::Out_Var_Array_Argument_T<S,S_slice,S_var,S_out,S_forany,S_tag>::demarshal (
{
typedef TAO::Array_Traits<S,S_slice,S_tag> ARRAY_TRAITS;
ACE_ALLOCATOR_RETURN (this->x_,
- ARRAY_TRAITS::alloc (),
+ ARRAY_TRAITS::tao_alloc (),
0);
S_forany tmp (this->x_);
return cdr >> tmp;
}
-#if TAO_HAS_INTERCEPTORS == 1
-
template<typename S,
typename S_slice,
typename S_var,
@@ -108,8 +98,6 @@ interceptor_param (Dynamic::Parameter & p)
p.mode = CORBA::PARAM_OUT;
}
-#endif /* TAO_HAS_INTERCEPTORS */
-
// ============================================================
template<typename S,
@@ -125,15 +113,13 @@ TAO::Ret_Var_Array_Argument_T<S,S_slice,S_var,S_forany,S_tag>::demarshal (
typedef TAO::Array_Traits<S,S_slice,S_tag> ARRAY_TRAITS;
S_slice * tmp_ptr = 0;
ACE_ALLOCATOR_RETURN (tmp_ptr,
- ARRAY_TRAITS::alloc (),
+ ARRAY_TRAITS::tao_alloc (),
0);
this->x_ = tmp_ptr;
S_forany tmp (this->x_.ptr ());
return cdr >> tmp;
}
-#if TAO_HAS_INTERCEPTORS == 1
-
template<typename S,
typename S_slice,
typename S_var,
@@ -146,6 +132,4 @@ interceptor_result (CORBA::Any * any)
(*any) <<= S_forany (this->x_.ptr ());
}
-#endif /* TAO_HAS_INTERCEPTORS */
-
#endif /* TAO_VAR_ARRAY_ARGUMENT_T_C */