From a403822d5a79c912954d020e670154d4a32eaa08 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 5 Mar 2007 10:47:56 +0000 Subject: --- TAO/tao/Object_Reference_Const_Sequence_Element_T.h | 2 +- TAO/tao/Policy_Set.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TAO/tao/Object_Reference_Const_Sequence_Element_T.h b/TAO/tao/Object_Reference_Const_Sequence_Element_T.h index 85aa49526e3..07bfd2dfa7f 100644 --- a/TAO/tao/Object_Reference_Const_Sequence_Element_T.h +++ b/TAO/tao/Object_Reference_Const_Sequence_Element_T.h @@ -52,7 +52,7 @@ public: return *element_; } - inline object_reference_type * const in (void) const { + inline const_value_type in (void) const { return *this->element_; } diff --git a/TAO/tao/Policy_Set.inl b/TAO/tao/Policy_Set.inl index a224046dc1e..2263ccd4fad 100644 --- a/TAO/tao/Policy_Set.inl +++ b/TAO/tao/Policy_Set.inl @@ -15,7 +15,7 @@ TAO_Policy_Set::compatible_scope (TAO_Policy_Scope policy_scope) const ACE_INLINE CORBA::Policy * TAO_Policy_Set::get_policy_by_index (CORBA::ULong index) const { - return CORBA::Policy::_duplicate (this->policy_list_[index].in ()); + return CORBA::Policy::_duplicate (this->policy_list_[index]); } ACE_INLINE CORBA::ULong -- cgit v1.2.1