diff options
Diffstat (limited to 'TAO/tao/BiDir_GIOP/BiDir_PolicyFactory.h')
-rw-r--r-- | TAO/tao/BiDir_GIOP/BiDir_PolicyFactory.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/TAO/tao/BiDir_GIOP/BiDir_PolicyFactory.h b/TAO/tao/BiDir_GIOP/BiDir_PolicyFactory.h index 9a4175257b5..cdce842dead 100644 --- a/TAO/tao/BiDir_GIOP/BiDir_PolicyFactory.h +++ b/TAO/tao/BiDir_GIOP/BiDir_PolicyFactory.h @@ -14,7 +14,7 @@ #include /**/ "ace/pre.h" -#include "tao/BiDir_GIOP/bidirgiop_export.h" +#include "bidirgiop_export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -27,16 +27,14 @@ // This is to remove "inherits via dominance" warnings from MSVC. // MSVC is being a little too paranoid. #if defined(_MSC_VER) -# pragma warning(push) -# pragma warning(disable:4250) +#pragma warning(push) +#pragma warning(disable:4250) #endif /* _MSC_VER */ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - /// Policy factory for all Messaging related policies. -class TAO_BiDir_PolicyFactory - : public PortableInterceptor::PolicyFactory - , public TAO_Local_RefCounted_Object +class TAO_BiDirGIOP_Export TAO_BiDir_PolicyFactory : + public PortableInterceptor::PolicyFactory, + public TAO_Local_RefCounted_Object { public: @@ -45,13 +43,11 @@ public: ACE_ENV_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException, CORBA::PolicyError)); - }; -TAO_END_VERSIONED_NAMESPACE_DECL #if defined(_MSC_VER) -# pragma warning(pop) +#pragma warning(pop) #endif /* _MSC_VER */ |