summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DynamicC.cpp')
-rw-r--r--TAO/tao/DynamicC.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/TAO/tao/DynamicC.cpp b/TAO/tao/DynamicC.cpp
index abd5c387b97..bf33bffefee 100644
--- a/TAO/tao/DynamicC.cpp
+++ b/TAO/tao/DynamicC.cpp
@@ -41,7 +41,7 @@
#endif /* !defined INLINE */
// TAO_IDL - Generated from
-// be\be_visitor_arg_traits.cpp:65
+// be\be_visitor_arg_traits.cpp:66
// Arg traits specializations.
namespace TAO
@@ -171,7 +171,7 @@ CORBA::Boolean operator<< (
if (strm << _tao_seq_len)
{
// Encode all elements.
- CORBA::Boolean _tao_marshal_flag = 1;
+ CORBA::Boolean _tao_marshal_flag = true;
for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
{
@@ -181,7 +181,7 @@ CORBA::Boolean operator<< (
return _tao_marshal_flag;
}
- return 0;
+ return false;
}
CORBA::Boolean operator>> (
@@ -198,7 +198,7 @@ CORBA::Boolean operator>> (
// of the stream. (See bug 58.)
if (_tao_seq_len > strm.length ())
{
- return 0;
+ return false;
}
// Set the length of the sequence.
@@ -207,11 +207,11 @@ CORBA::Boolean operator>> (
// If length is 0 we return true.
if (0 >= _tao_seq_len)
{
- return 1;
+ return true;
}
// Retrieve all the elements.
- CORBA::Boolean _tao_marshal_flag = 1;
+ CORBA::Boolean _tao_marshal_flag = true;
for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
{
@@ -222,7 +222,7 @@ CORBA::Boolean operator>> (
}
- return 0;
+ return false;
}
#endif /* _TAO_CDR_OP_Dynamic_ParameterList_CPP_ */
@@ -243,7 +243,7 @@ CORBA::Boolean operator<< (
if (strm << _tao_seq_len)
{
// Encode all elements.
- CORBA::Boolean _tao_marshal_flag = 1;
+ CORBA::Boolean _tao_marshal_flag = true;
for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
{
@@ -253,7 +253,7 @@ CORBA::Boolean operator<< (
return _tao_marshal_flag;
}
- return 0;
+ return false;
}
CORBA::Boolean operator>> (
@@ -270,7 +270,7 @@ CORBA::Boolean operator>> (
// of the stream. (See bug 58.)
if (_tao_seq_len > strm.length ())
{
- return 0;
+ return false;
}
// Set the length of the sequence.
@@ -279,11 +279,11 @@ CORBA::Boolean operator>> (
// If length is 0 we return true.
if (0 >= _tao_seq_len)
{
- return 1;
+ return true;
}
// Retrieve all the elements.
- CORBA::Boolean _tao_marshal_flag = 1;
+ CORBA::Boolean _tao_marshal_flag = true;
for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
{
@@ -294,7 +294,7 @@ CORBA::Boolean operator>> (
}
- return 0;
+ return false;
}
#endif /* _TAO_CDR_OP_Dynamic_ExceptionList_CPP_ */