summaryrefslogtreecommitdiff
path: root/TAO/tao/Strategies/DIOP_Profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Strategies/DIOP_Profile.cpp')
-rw-r--r--TAO/tao/Strategies/DIOP_Profile.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/TAO/tao/Strategies/DIOP_Profile.cpp b/TAO/tao/Strategies/DIOP_Profile.cpp
index f53249f4450..df263f4dc3a 100644
--- a/TAO/tao/Strategies/DIOP_Profile.cpp
+++ b/TAO/tao/Strategies/DIOP_Profile.cpp
@@ -217,22 +217,11 @@ TAO_DIOP_Profile::parse_string_i (const char *ior
}
CORBA::Boolean
-TAO_DIOP_Profile::is_equivalent (const TAO_Profile *other_profile)
+TAO_DIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile)
{
-
- if (other_profile->tag () != TAO_TAG_UDP_PROFILE)
- return 0;
-
const TAO_DIOP_Profile *op =
ACE_dynamic_cast (const TAO_DIOP_Profile *, other_profile);
-
- if (!(this->ref_object_key_->object_key () ==
- op->ref_object_key_->object_key ()
- && this->version_ == op->version_
- && this->count_ == op->count_))
- return 0;
-
// Check endpoints equivalence.
const TAO_DIOP_Endpoint *other_endp = &op->endpoint_;
for (TAO_DIOP_Endpoint *endp = &this->endpoint_;
@@ -245,9 +234,6 @@ TAO_DIOP_Profile::is_equivalent (const TAO_Profile *other_profile)
return 0;
}
- if (!this->is_profile_equivalent_i (other_profile))
- return 0;
-
return 1;
}
@@ -288,7 +274,7 @@ TAO_DIOP_Profile::endpoint (void)
}
CORBA::ULong
-TAO_DIOP_Profile::endpoint_count (void)
+TAO_DIOP_Profile::endpoint_count (void) const
{
return this->count_;
}