diff options
Diffstat (limited to 'TAO/tao/AnyTypeCode/NVList.cpp')
-rw-r--r-- | TAO/tao/AnyTypeCode/NVList.cpp | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/TAO/tao/AnyTypeCode/NVList.cpp b/TAO/tao/AnyTypeCode/NVList.cpp index 03e272abc34..5067c9fe907 100644 --- a/TAO/tao/AnyTypeCode/NVList.cpp +++ b/TAO/tao/AnyTypeCode/NVList.cpp @@ -9,13 +9,14 @@ #include "tao/AnyTypeCode/Marshal.h" #include "tao/AnyTypeCode/Any_Impl.h" -#include "tao/SystemException.h" #include "tao/CORBA_String.h" #include "tao/CDR.h" #include "tao/debug.h" +#include "tao/SystemException.h" #include "ace/Auto_Ptr.h" #include "ace/Log_Msg.h" +#include "ace/CORBA_macros.h" #if !defined (__ACE_INLINE__) # include "tao/AnyTypeCode/NVList.inl" @@ -95,23 +96,18 @@ CORBA::NVList::~NVList (void) // add an element and just initialize its flags CORBA::NamedValue_ptr -CORBA::NVList::add (CORBA::Flags flags - ) +CORBA::NVList::add (CORBA::Flags flags) { // call the helper to allocate a NamedValue element (if necessary) - return this->add_element (flags - ); + return this->add_element (flags); } // add an element and just initialize its flags and name CORBA::NamedValue_ptr -CORBA::NVList::add_item (const char *name, - CORBA::Flags flags - ) +CORBA::NVList::add_item (const char *name, CORBA::Flags flags) { // call the helper to allocate a NamedValue element - CORBA::NamedValue_ptr nv = this->add_element (flags - ); + CORBA::NamedValue_ptr nv = this->add_element (flags); if (nv) { @@ -129,12 +125,10 @@ CORBA::NVList::add_item (const char *name, CORBA::NamedValue_ptr CORBA::NVList::add_value (const char *name, const CORBA::Any &value, - CORBA::Flags flags - ) + CORBA::Flags flags) { // Call the helper to allocate a NamedValue element. - CORBA::NamedValue_ptr nv = this->add_element (flags - ); + CORBA::NamedValue_ptr nv = this->add_element (flags); if (nv) { @@ -157,9 +151,7 @@ CORBA::NVList::add_value (const char *name, // add an element and just initialize its flags and name CORBA::NamedValue_ptr -CORBA::NVList::add_item_consume (char *name, - CORBA::Flags flags - ) +CORBA::NVList::add_item_consume (char *name, CORBA::Flags flags) { // call the helper to allocate a NamedValue element |