summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Core.cpp')
-rw-r--r--TAO/tao/ORB_Core.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index fafa7de8abd..02a18847b51 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -59,8 +59,10 @@ TAO_ORB_Core::TAO_ORB_Core (void)
#endif /* TAO_ARL_USES_SAME_CONNECTOR_PORT */
preconnections_ (0),
default_environment_ (0),
- tss_environment_ (this),
- policy_current_ (&this->initial_policy_current_)
+ tss_environment_ (this)
+#if defined (TAO_HAS_CORBA_MESSAGING)
+ , policy_current_ (&this->initial_policy_current_)
+#endif /* TAO_HAS_CORBA_MESSAGING */
{
}