summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Root_POA.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-08-26 09:52:55 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-08-26 09:52:55 +0000
commitdef7f77b296680b164a6c8ff1e69d9d9c433fe2f (patch)
tree09e01f05117ff081bebb8e250aaf3781d2100612 /TAO/tao/PortableServer/Root_POA.inl
parent3db1464004f31b6a9d073021851b7ea98c99fcf8 (diff)
downloadATCD-def7f77b296680b164a6c8ff1e69d9d9c433fe2f.tar.gz
ChangeLogTag: Fri Aug 26 09:49:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/PortableServer/Root_POA.inl')
-rw-r--r--TAO/tao/PortableServer/Root_POA.inl5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/tao/PortableServer/Root_POA.inl b/TAO/tao/PortableServer/Root_POA.inl
index a3abcf9341e..cc6a7fd44f6 100644
--- a/TAO/tao/PortableServer/Root_POA.inl
+++ b/TAO/tao/PortableServer/Root_POA.inl
@@ -41,7 +41,10 @@ ACE_INLINE PortableInterceptor::ObjectReferenceTemplate *
TAO_Root_POA::get_adapter_template (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- if (this->ORT_adapter (ACE_ENV_SINGLE_ARG_PARAMETER))
+ TAO::ORT_Adapter *adapter = this->ORT_adapter (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_CHECK_RETURN (0);
+
+ if (adapter)
{
return this->ort_adapter_->get_adapter_template();
}