diff options
Diffstat (limited to 'TAO/tao/PICurrent.cpp')
-rw-r--r-- | TAO/tao/PICurrent.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/PICurrent.cpp b/TAO/tao/PICurrent.cpp index 6c1929201ed..8126af7647e 100644 --- a/TAO/tao/PICurrent.cpp +++ b/TAO/tao/PICurrent.cpp @@ -14,6 +14,7 @@ ACE_RCSID (tao, #include "ORB_Core.h" #include "TAO_Server_Request.h" #include "PICurrent_Copy_Callback.h" +#include "SystemException.h" TAO::PICurrent::PICurrent (TAO_ORB_Core * orb_core) @@ -120,7 +121,7 @@ TAO::PICurrent_Impl::get_slot (PortableInterceptor::SlotId id CORBA::Any (table[id]), // Make a copy. CORBA::NO_MEMORY ( CORBA::SystemException::_tao_minor_code ( - TAO_DEFAULT_MINOR_CODE, + 0, ENOMEM), CORBA::COMPLETED_NO)); ACE_CHECK_RETURN (any); @@ -134,7 +135,7 @@ TAO::PICurrent_Impl::get_slot (PortableInterceptor::SlotId id CORBA::Any, CORBA::NO_MEMORY ( CORBA::SystemException::_tao_minor_code ( - TAO_DEFAULT_MINOR_CODE, + 0, ENOMEM), CORBA::COMPLETED_NO)); ACE_CHECK_RETURN (any); |