summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Profile.cpp')
-rw-r--r--TAO/tao/Profile.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp
index 3d5b7d38d34..81843866050 100644
--- a/TAO/tao/Profile.cpp
+++ b/TAO/tao/Profile.cpp
@@ -34,8 +34,7 @@ TAO_Profile::TAO_Profile (CORBA::ULong tag,
, tag_ (tag)
, orb_core_ (orb_core)
, forward_to_ (0)
- , refcount_ (this->orb_core_->
- client_factory ()->create_profile_refcount ())
+ , refcount_ (1)
, tagged_profile_lock_ ()
, tagged_profile_created_ (false)
{
@@ -54,8 +53,7 @@ TAO_Profile::TAO_Profile (CORBA::ULong tag,
, tag_ (tag)
, orb_core_ (orb_core)
, forward_to_ (0)
- , refcount_ (this->orb_core_->
- client_factory ()->create_profile_refcount ())
+ , refcount_ (1)
, tagged_profile_lock_ ()
, tagged_profile_created_ (false)
{