summaryrefslogtreecommitdiff
path: root/TAO/tao/Default_Stub_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Default_Stub_Factory.cpp')
-rw-r--r--TAO/tao/Default_Stub_Factory.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/tao/Default_Stub_Factory.cpp b/TAO/tao/Default_Stub_Factory.cpp
index d6603362980..dc2666670e6 100644
--- a/TAO/tao/Default_Stub_Factory.cpp
+++ b/TAO/tao/Default_Stub_Factory.cpp
@@ -3,7 +3,6 @@
#include "Default_Stub_Factory.h"
#include "Stub.h"
#include "ORB_Constants.h"
-#include "SystemException.h"
#include "ace/Log_Msg.h"
@@ -19,15 +18,15 @@ TAO_Default_Stub_Factory::~TAO_Default_Stub_Factory (void)
TAO_Stub *
TAO_Default_Stub_Factory::create_stub (const char *repository_id,
- const TAO_MProfile &profiles,
- TAO_ORB_Core *orb_core
- ACE_ENV_ARG_DECL)
+ const TAO_MProfile &profiles,
+ TAO_ORB_Core *orb_core
+ ACE_ENV_ARG_DECL)
{
TAO_Stub *retval = 0;
ACE_NEW_THROW_EX (retval,
TAO_Stub (repository_id, profiles, orb_core),
- CORBA::NO_MEMORY (0,
+ CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
CORBA::COMPLETED_MAYBE));
ACE_CHECK_RETURN (retval);