summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-07-20 12:36:26 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-07-20 12:36:26 +0000
commit9aec767ee3e9873cd8c8c9efe247fef628bf8683 (patch)
treecde5f8082e32575ea96143162317e17e0b1ff45e
parentf09a878cfab33720672cf93593e3d192fe5262d0 (diff)
downloadATCD-9aec767ee3e9873cd8c8c9efe247fef628bf8683.tar.gz
ChangeLogTag: Thu Jul 20 12:34:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/ChangeLog5
-rw-r--r--TAO/tao/Strategies/DIOP_Endpoint.cpp10
-rw-r--r--TAO/tao/Strategies/DIOP_Endpoint.h2
3 files changed, 11 insertions, 6 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 52ca2d20dd7..bee0b31fbdb 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jul 20 12:34:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * tao/Strategies/DIOP_Endpoint.h:
+ Removed commented out method
+
Thu Jul 20 12:26:59 UTC 2006 Simon McQueen <sm@prismtech.com>
* tests/Bug_2549_Regression/test.idl:
diff --git a/TAO/tao/Strategies/DIOP_Endpoint.cpp b/TAO/tao/Strategies/DIOP_Endpoint.cpp
index 922e355cc28..0932758ff8c 100644
--- a/TAO/tao/Strategies/DIOP_Endpoint.cpp
+++ b/TAO/tao/Strategies/DIOP_Endpoint.cpp
@@ -34,7 +34,7 @@ TAO_DIOP_Endpoint::TAO_DIOP_Endpoint (const ACE_INET_Addr &addr,
, host_ ()
, port_ (0)
, object_addr_ (addr)
- , object_addr_set_ (0)
+ , object_addr_set_ (false)
, next_ (0)
{
this->set (addr, use_dotted_decimal_addresses);
@@ -49,7 +49,7 @@ TAO_DIOP_Endpoint::TAO_DIOP_Endpoint (const char *host,
, host_ ()
, port_ (port)
, object_addr_ (addr)
- , object_addr_set_ (0)
+ , object_addr_set_ (false)
, next_ (0)
{
if (host != 0)
@@ -61,7 +61,7 @@ TAO_DIOP_Endpoint::TAO_DIOP_Endpoint (void)
host_ (),
port_ (0),
object_addr_ (),
- object_addr_set_ (0),
+ object_addr_set_ (false),
next_ (0)
{
}
@@ -73,7 +73,7 @@ TAO_DIOP_Endpoint::TAO_DIOP_Endpoint (const char *host,
host_ (),
port_ (port),
object_addr_ (),
- object_addr_set_ (0),
+ object_addr_set_ (false),
next_ (0)
{
if (host != 0)
@@ -239,7 +239,7 @@ TAO_DIOP_Endpoint::object_addr (void) const
}
else
{
- endpoint->object_addr_set_ = 1;
+ endpoint->object_addr_set_ = true;
}
}
}
diff --git a/TAO/tao/Strategies/DIOP_Endpoint.h b/TAO/tao/Strategies/DIOP_Endpoint.h
index c302467d301..7690b7eac99 100644
--- a/TAO/tao/Strategies/DIOP_Endpoint.h
+++ b/TAO/tao/Strategies/DIOP_Endpoint.h
@@ -128,7 +128,7 @@ private:
ACE_INET_Addr object_addr_;
/// Flag to indicate if the address has been resolved and set.
- int object_addr_set_;
+ bool object_addr_set_;
/// DIOP Endpoints can be stringed into a list. Return the next
/// endpoint in the list, if any.