diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-03-05 10:47:56 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-03-05 10:47:56 +0000 |
commit | a403822d5a79c912954d020e670154d4a32eaa08 (patch) | |
tree | 3f605addae4973fbcadbe0d179163bda4c4c223e | |
parent | 231aa108b01d3bc49e8c651ac5ca506bf1653e4e (diff) | |
download | ATCD-a403822d5a79c912954d020e670154d4a32eaa08.tar.gz |
-rw-r--r-- | TAO/tao/Object_Reference_Const_Sequence_Element_T.h | 2 | ||||
-rw-r--r-- | 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 |