summaryrefslogtreecommitdiff
path: root/TAO/tao/AnyTypeCode/NVList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/AnyTypeCode/NVList.cpp')
-rw-r--r--TAO/tao/AnyTypeCode/NVList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/AnyTypeCode/NVList.cpp b/TAO/tao/AnyTypeCode/NVList.cpp
index 56528db0c81..0a0b9ef54ee 100644
--- a/TAO/tao/AnyTypeCode/NVList.cpp
+++ b/TAO/tao/AnyTypeCode/NVList.cpp
@@ -490,11 +490,11 @@ CORBA::NVList::_lazy_has_arguments (void) const
{
if (this->incoming_ != 0)
{
- return this->incoming_->length () <= 1 ? false : true;
+ return this->incoming_->length () == 0 ? 0 : 1;
}
else
{
- return this->count () <= 1 ? false : true;
+ return this->count () == 0 ? 0 : 1;
}
}