summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Method_Request_Updates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Method_Request_Updates.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Method_Request_Updates.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Method_Request_Updates.cpp b/TAO/orbsvcs/orbsvcs/Notify/Method_Request_Updates.cpp
index 27c0c16d782..7d274fd44d7 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Method_Request_Updates.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Method_Request_Updates.cpp
@@ -8,6 +8,8 @@ ACE_RCSID(Notify, TAO_Notify_Method_Request_Updates, "$Id$")
#include "Proxy.h"
#include "Peer.h"
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
TAO_Notify_Method_Request_Updates::TAO_Notify_Method_Request_Updates (const TAO_Notify_EventTypeSeq& added, const TAO_Notify_EventTypeSeq& removed, TAO_Notify_Proxy* proxy)
: TAO_Notify_Method_Request_Updates_Base (added, removed, proxy)
{
@@ -38,11 +40,12 @@ TAO_Notify_Method_Request_Updates_No_Copy::~TAO_Notify_Method_Request_Updates_No
TAO_Notify_Method_Request_Queueable*
TAO_Notify_Method_Request_Updates_No_Copy::copy (ACE_ENV_SINGLE_ARG_DECL)
{
- TAO_Notify_Method_Request_Queueable* request;
+ TAO_Notify_Method_Request_Queueable* request = 0;
ACE_NEW_THROW_EX (request,
TAO_Notify_Method_Request_Updates (this->added_, this->removed_, this->proxy_),
- CORBA::INTERNAL ());
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (request);
return request;
}
@@ -52,3 +55,5 @@ TAO_Notify_Method_Request_Updates_No_Copy::execute (ACE_ENV_SINGLE_ARG_DECL)
{
return this->execute_i (ACE_ENV_SINGLE_ARG_PARAMETER);
}
+
+TAO_END_VERSIONED_NAMESPACE_DECL