diff options
Diffstat (limited to 'TAO/tao/Stub.cpp')
-rw-r--r-- | TAO/tao/Stub.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp index a983f392794..6fcf63b6024 100644 --- a/TAO/tao/Stub.cpp +++ b/TAO/tao/Stub.cpp @@ -74,8 +74,7 @@ TAO_Stub::TAO_Stub (const char *repository_id, // Cache the ORB pointer to respond faster to certain queries. this->orb_ = CORBA::ORB::_duplicate (this->orb_core_->orb ()); - this->profile_lock_ptr_ = - this->orb_core_->client_factory ()->create_profile_lock (); + this->profile_lock_ptr_ = new ACE_Lock_Adapter<TAO_SYNCH_MUTEX> (); this->base_profiles (profiles); } |