summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/IdAssignmentPolicyC.cpp')
-rw-r--r--TAO/tao/PortableServer/IdAssignmentPolicyC.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp b/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp
index dae4a91d05b..309a2c0fcb4 100644
--- a/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp
+++ b/TAO/tao/PortableServer/IdAssignmentPolicyC.cpp
@@ -29,13 +29,15 @@
// be\be_codegen.cpp:277
-#include "IdAssignmentPolicyC.h"
+#include "tao/PortableServer/IdAssignmentPolicyC.h"
#include "tao/CDR.h"
#include "ace/OS_NS_string.h"
// TAO_IDL - Generated from
// be\be_visitor_arg_traits.cpp:70
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
// Arg traits specializations.
namespace TAO
{
@@ -60,7 +62,7 @@ TAO::Objref_Traits<PortableServer::IdAssignmentPolicy>::release (
PortableServer::IdAssignmentPolicy_ptr p
)
{
- CORBA::release (p);
+ ::CORBA::release (p);
}
PortableServer::IdAssignmentPolicy_ptr
@@ -109,18 +111,18 @@ PortableServer::IdAssignmentPolicy::_unchecked_narrow (
PortableServer::IdAssignmentPolicy_ptr
PortableServer::IdAssignmentPolicy::_duplicate (IdAssignmentPolicy_ptr obj)
{
- if (! CORBA::is_nil (obj))
+ if (! ::CORBA::is_nil (obj))
{
obj->_add_ref ();
}
-
+
return obj;
}
void
PortableServer::IdAssignmentPolicy::_tao_release (IdAssignmentPolicy_ptr obj)
{
- CORBA::release (obj);
+ ::CORBA::release (obj);
}
CORBA::Boolean
@@ -179,11 +181,13 @@ CORBA::Boolean operator>> (TAO_InputCDR & strm, PortableServer::IdAssignmentPoli
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean const _tao_success = strm >> _tao_temp;
-
+
if (_tao_success)
{
_tao_enumerator = static_cast<PortableServer::IdAssignmentPolicyValue> (_tao_temp);
}
-
+
return _tao_success;
}
+
+TAO_END_VERSIONED_NAMESPACE_DECL