summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/MProfile.cpp')
-rw-r--r--TAO/tao/MProfile.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/MProfile.cpp b/TAO/tao/MProfile.cpp
index 6e761046cc3..3dd6957803d 100644
--- a/TAO/tao/MProfile.cpp
+++ b/TAO/tao/MProfile.cpp
@@ -6,7 +6,6 @@
#include "tao/Profile.h"
#include "tao/PolicyC.h"
#include "tao/ORB_Constants.h"
-#include "tao/SystemException.h"
#include "ace/Log_Msg.h"
#include "ace/Guard_T.h"
@@ -313,7 +312,7 @@ TAO_MProfile::create_policy_list (ACE_ENV_SINGLE_ARG_DECL)
{
ACE_NEW_THROW_EX (this->policy_list_,
CORBA::PolicyList,
- CORBA::NO_MEMORY (0,
+ CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
CORBA::COMPLETED_NO)
);
}
@@ -353,7 +352,7 @@ TAO_MProfile::policy_list (ACE_ENV_SINGLE_ARG_DECL)
CORBA::PolicyList *ret_val = 0;
ACE_NEW_THROW_EX (ret_val,
CORBA::PolicyList (*this->policy_list_),
- CORBA::NO_MEMORY (0,
+ CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
CORBA::COMPLETED_NO));
ACE_CHECK_RETURN (0);