summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-03-05 10:55:32 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-03-05 10:55:32 +0000
commitfb610df7feb81fed278a885d74ed7d19d1ea7fea (patch)
tree7fdda7cc7963a0e39fcbdb4ac0498a5e356142c0
parent50212beb9bcfa2f4d758e9fee95c604bc15efee0 (diff)
downloadATCD-fb610df7feb81fed278a885d74ed7d19d1ea7fea.tar.gz
-rw-r--r--TAO/tao/Object_Reference_Const_Sequence_Element_T.h2
-rw-r--r--TAO/tao/Policy_Set.inl2
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..bd6da2a4915 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 object_reference_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