summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-07-21 07:40:44 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-07-21 07:40:44 +0000
commitbee076f88adbdd0d59738a1112f024fd062faa70 (patch)
tree13afc9127cf82bbeb22ed65f24273777d87fe94f
parenta667516ffa6e406967e72cf83a48151028ea818d (diff)
downloadATCD-bee076f88adbdd0d59738a1112f024fd062faa70.tar.gz
ChangeLogTag: Fri Jul 21 07:31:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/ChangeLog7
-rw-r--r--TAO/tao/Strategies/DIOP_Profile.cpp4
-rw-r--r--TAO/tao/Strategies/SCIOP_Profile.cpp6
-rw-r--r--TAO/tao/Strategies/UIOP_Profile.cpp6
4 files changed, 15 insertions, 8 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index b89bf8a7ce7..3f3ff40debb 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,10 @@
+Fri Jul 21 07:40:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * tao/Strategies/UIOP_Profile.cpp:
+ * tao/Strategies/DIOP_Profile.cpp:
+ * tao/Strategies/SCIOP_Profile.cpp:
+ Use true/false instead of 1/0
+
Fri Jul 21 07:31:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/Load_Protocol_Factory_T.h:
diff --git a/TAO/tao/Strategies/DIOP_Profile.cpp b/TAO/tao/Strategies/DIOP_Profile.cpp
index 19c9432b3a0..cfe07e382d7 100644
--- a/TAO/tao/Strategies/DIOP_Profile.cpp
+++ b/TAO/tao/Strategies/DIOP_Profile.cpp
@@ -231,10 +231,10 @@ TAO_DIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile)
if (endp->is_equivalent (other_endp))
other_endp = other_endp->next_;
else
- return 0;
+ return false;
}
- return 1;
+ return true;
}
CORBA::ULong
diff --git a/TAO/tao/Strategies/SCIOP_Profile.cpp b/TAO/tao/Strategies/SCIOP_Profile.cpp
index fa381145d61..a09a100ef89 100644
--- a/TAO/tao/Strategies/SCIOP_Profile.cpp
+++ b/TAO/tao/Strategies/SCIOP_Profile.cpp
@@ -243,7 +243,7 @@ TAO_SCIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile)
dynamic_cast<const TAO_SCIOP_Profile *> (other_profile);
if (op == 0)
- return 0;
+ return false;
// Check endpoints equivalence.
const TAO_SCIOP_Endpoint *other_endp = &op->endpoint_;
@@ -254,10 +254,10 @@ TAO_SCIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile)
if (endp->is_equivalent (other_endp))
other_endp = other_endp->next_;
else
- return 0;
+ return false;
}
- return 1;
+ return true;
}
CORBA::ULong
diff --git a/TAO/tao/Strategies/UIOP_Profile.cpp b/TAO/tao/Strategies/UIOP_Profile.cpp
index 853bfc83d9e..1e665915348 100644
--- a/TAO/tao/Strategies/UIOP_Profile.cpp
+++ b/TAO/tao/Strategies/UIOP_Profile.cpp
@@ -185,7 +185,7 @@ TAO_UIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile)
dynamic_cast <const TAO_UIOP_Profile *> (other_profile);
if (op == 0)
- return 0;
+ return false;
// Check endpoints equivalence.
const TAO_UIOP_Endpoint *other_endp = &op->endpoint_;
@@ -196,10 +196,10 @@ TAO_UIOP_Profile::do_is_equivalent (const TAO_Profile *other_profile)
if (endp->is_equivalent (other_endp))
other_endp = other_endp->next_;
else
- return 0;
+ return false;
}
- return 1;
+ return true;
}
CORBA::ULong