From cdb6fd66611283a0314ab23e08472d11dae4f0e4 Mon Sep 17 00:00:00 2001 From: bala Date: Tue, 28 Oct 2003 18:31:01 +0000 Subject: ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan --- TAO/tao/Policy_Manager.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'TAO/tao/Policy_Manager.h') diff --git a/TAO/tao/Policy_Manager.h b/TAO/tao/Policy_Manager.h index 450a707a520..f51c5b3b936 100644 --- a/TAO/tao/Policy_Manager.h +++ b/TAO/tao/Policy_Manager.h @@ -16,20 +16,21 @@ #ifndef TAO_POLICY_MANAGER_H #define TAO_POLICY_MANAGER_H + #include /**/ "ace/pre.h" +#include "ace/Guard_T.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ #include "tao/orbconf.h" #if (TAO_HAS_CORBA_MESSAGING == 1) -#include "tao/Policy_Set.h" -#include "tao/LocalObject.h" #include "tao/PolicyC.h" -#include "tao/debug.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "tao/LocalObject.h" +#include "tao/Policy_Set.h" #if defined(_MSC_VER) #if (_MSC_VER >= 1200) @@ -62,8 +63,7 @@ public: virtual void set_policy_overrides (const CORBA::PolicyList & policies, CORBA::SetOverrideType set_add - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) + ACE_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException, CORBA::InvalidPolicies)); @@ -160,4 +160,5 @@ public: #endif /* TAO_HAS_CORBA_MESSAGING == 1 */ #include /**/ "ace/post.h" + #endif /* TAO_POLICY_MANAGER_H */ -- cgit v1.2.1