summaryrefslogtreecommitdiff
path: root/TAO/tao/ShortSeqC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ShortSeqC.cpp')
-rw-r--r--TAO/tao/ShortSeqC.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tao/ShortSeqC.cpp b/TAO/tao/ShortSeqC.cpp
index 1a3e8fe82bf..fef6d6ceb63 100644
--- a/TAO/tao/ShortSeqC.cpp
+++ b/TAO/tao/ShortSeqC.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
@@ -121,7 +121,7 @@ CORBA::Boolean operator<< (
return strm.write_short_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
}
- return 0;
+ return false;
}
CORBA::Boolean operator>> (
@@ -138,7 +138,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.
@@ -147,7 +147,7 @@ CORBA::Boolean operator>> (
// If length is 0 we return true.
if (0 >= _tao_seq_len)
{
- return 1;
+ return true;
}
// Retrieve all the elements.
@@ -155,7 +155,7 @@ CORBA::Boolean operator>> (
}
- return 0;
+ return false;
}
#endif /* _TAO_CDR_OP_CORBA_ShortSeq_CPP_ */