diff options
Diffstat (limited to 'ACE/ace/Dynamic_Service_Base.cpp')
-rw-r--r-- | ACE/ace/Dynamic_Service_Base.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/ace/Dynamic_Service_Base.cpp b/ACE/ace/Dynamic_Service_Base.cpp index 301361a0b2d..7c2bd20fcec 100644 --- a/ACE/ace/Dynamic_Service_Base.cpp +++ b/ACE/ace/Dynamic_Service_Base.cpp @@ -60,7 +60,7 @@ ACE_Dynamic_Service_Base::find_i (const ACE_Service_Gestalt* &repo, { // Check the static repo, too if different if (repo == global) - break; + break; } return svc_rec; @@ -80,6 +80,7 @@ ACE_Dynamic_Service_Base::instance (const ACE_Service_Gestalt* repo, const ACE_Service_Type_Impl *type = 0; const ACE_Service_Gestalt* repo_found = repo; + const ACE_Service_Type *svc_rec = find_i (repo_found, name, no_global); if (svc_rec != 0) { |