diff options
Diffstat (limited to 'TAO/tao/AnyTypeCode/Any.h')
-rw-r--r-- | TAO/tao/AnyTypeCode/Any.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/TAO/tao/AnyTypeCode/Any.h b/TAO/tao/AnyTypeCode/Any.h index 6f6dfe69e7e..9ff3890fc22 100644 --- a/TAO/tao/AnyTypeCode/Any.h +++ b/TAO/tao/AnyTypeCode/Any.h @@ -282,6 +282,11 @@ operator<< (std::ostream &, const CORBA::Any &); #endif /* GEN_OSTREAM_OPS */ +#ifdef ACE_ANY_OPS_USE_NAMESPACE +namespace CORBA +{ +#endif + /// Typesafe insertion. TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, CORBA::Short); @@ -335,6 +340,10 @@ TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any &, std::string &); +#ifdef ACE_ANY_OPS_USE_NAMESPACE +} +#endif + TAO_END_VERSIONED_NAMESPACE_DECL #if defined (__ACE_INLINE__) @@ -343,6 +352,11 @@ TAO_END_VERSIONED_NAMESPACE_DECL TAO_BEGIN_VERSIONED_NAMESPACE_DECL +#ifdef ACE_ANY_OPS_USE_NAMESPACE +namespace CORBA +{ +#endif + /// Copying versions of insertion operators for basic types /// must also be defined for CORBA::Any_var. @@ -407,6 +421,10 @@ TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any_var &, TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any_var &, CORBA::Any::to_object); +#ifdef ACE_ANY_OPS_USE_NAMESPACE +} +#endif + TAO_END_VERSIONED_NAMESPACE_DECL #endif /* __ACE_INLINE__ */ |