summaryrefslogtreecommitdiff
path: root/TAO/tao/NVList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/NVList.cpp')
-rw-r--r--TAO/tao/NVList.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/NVList.cpp b/TAO/tao/NVList.cpp
index 36306a455a2..39356702387 100644
--- a/TAO/tao/NVList.cpp
+++ b/TAO/tao/NVList.cpp
@@ -153,6 +153,7 @@ CORBA_NVList::add_value (const char *name,
{
nv->any_._tao_replace (value.type_,
value.cdr_,
+ 0,
env);
}
}
@@ -225,7 +226,7 @@ CORBA_NVList::add_element (CORBA::Flags flags, CORBA::Environment &env)
if (ACE_BIT_DISABLED (flags,
CORBA::ARG_IN | CORBA::ARG_OUT | CORBA::ARG_INOUT))
{
- env.exception (new CORBA::BAD_PARAM ());
+ env.exception (new CORBA::BAD_PARAM (CORBA::COMPLETED_NO));
return 0;
}