diff options
author | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-12-02 14:03:36 +0000 |
---|---|---|
committer | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-12-02 14:03:36 +0000 |
commit | 1e7de8dddd375f33dd90a42f80489feddd08ba26 (patch) | |
tree | d5b074d9dd96c2e8a77e7bd5d975564c68480e2e /TAO/tao | |
parent | 8273a7204aec926bc61af2023120959a62ec3a43 (diff) | |
download | ATCD-1e7de8dddd375f33dd90a42f80489feddd08ba26.tar.gz |
Wed Dec 2 14:01:43 UTC 2009 Vladimir Zykov <vladimir.zykov@prismtech.com>
* tao/RTCORBA/RT_ORB_Loader.cpp:
Improved a little the fix for bug#3755. There is no need
to obtain a global gestalt.
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/RTCORBA/RT_ORB_Loader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/RTCORBA/RT_ORB_Loader.cpp b/TAO/tao/RTCORBA/RT_ORB_Loader.cpp index 53172b07b30..794b1a9e3dc 100644 --- a/TAO/tao/RTCORBA/RT_ORB_Loader.cpp +++ b/TAO/tao/RTCORBA/RT_ORB_Loader.cpp @@ -32,14 +32,14 @@ TAO_RT_ORB_Loader::init (int argc, ACE_TCHAR* argv[]) ACE_TRACE ("TAO_RT_ORB_Loader::init"); ACE_Service_Gestalt *gestalt = ACE_Service_Config::current (); - ACE_Service_Gestalt *global = ACE_Service_Config::global (); ACE_Service_Object * const rt_loader = ACE_Dynamic_Service<ACE_Service_Object>::instance ( gestalt, - "RT_ORB_Loader"); + "RT_ORB_Loader", + true); - if (rt_loader != 0 && rt_loader != this && gestalt == global) + if (rt_loader != 0 && rt_loader != this) { this->initialized_ = true; return rt_loader->init (argc, argv); |