Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Policy_Current_Impl.cpp
blob3c54e75dde65905e59c2fa0859fea7f98f8d4781
1 // -*- C++ -*-
2 #include "tao/Policy_Current_Impl.h"
4 #if (TAO_HAS_CORBA_MESSAGING == 1)
6 #if !defined (__ACE_INLINE__)
7 # include "tao/Policy_Current_Impl.inl"
8 #endif /* ! __ACE_INLINE__ */
10 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
12 void
13 TAO_Policy_Current_Impl::set_policy_overrides (
14 const CORBA::PolicyList & policies,
15 CORBA::SetOverrideType set_add)
17 this->manager_impl_.set_policy_overrides (policies, set_add);
20 CORBA::PolicyList *
21 TAO_Policy_Current_Impl::get_policy_overrides (const CORBA::PolicyTypeSeq & ts)
23 return this->manager_impl_.get_policy_overrides (ts);
26 TAO_END_VERSIONED_NAMESPACE_DECL
28 #endif /* TAO_HAS_CORBA_MESSAGING == 1 */