diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-19 14:37:02 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-22 16:20:53 +0200 |
commit | 2aab75d5fddc126e8085c70fe8e1b875b75a30ef (patch) | |
tree | 82498955ff2b3829d6597ed88a9eca1b1705df96 /ACE/ACEXML | |
parent | 5e96bb28fc7572f39b63ac2aca72800c45cdb1ee (diff) | |
download | ATCD-2aab75d5fddc126e8085c70fe8e1b875b75a30ef.tar.gz |
Part 2: Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/ACEXML')
-rw-r--r-- | ACE/ACEXML/apps/svcconf/Svcconf_Handler.inl | 14 | ||||
-rw-r--r-- | ACE/ACEXML/common/AttributesImpl.inl | 4 | ||||
-rw-r--r-- | ACE/ACEXML/common/Attributes_Def_Builder.h | 8 | ||||
-rw-r--r-- | ACE/ACEXML/common/URL_Addr.inl | 2 | ||||
-rw-r--r-- | ACE/ACEXML/common/XMLFilterImpl.inl | 2 | ||||
-rw-r--r-- | ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.inl | 4 | ||||
-rw-r--r-- | ACE/ACEXML/parser/debug_validator/Element_Tree.inl | 6 |
7 files changed, 20 insertions, 20 deletions
diff --git a/ACE/ACEXML/apps/svcconf/Svcconf_Handler.inl b/ACE/ACEXML/apps/svcconf/Svcconf_Handler.inl index 6b872badecb..319f88a025d 100644 --- a/ACE/ACEXML/apps/svcconf/Svcconf_Handler.inl +++ b/ACE/ACEXML/apps/svcconf/Svcconf_Handler.inl @@ -32,7 +32,7 @@ ACE_Parsed_Info::name (const ACEXML_Char *n) } ACE_INLINE const ACEXML_Char * -ACE_Parsed_Info::name (void) +ACE_Parsed_Info::name () { return this->name_; } @@ -49,7 +49,7 @@ ACE_Parsed_Info::service_type (int type) } ACE_INLINE int -ACE_Parsed_Info::service_type (void) +ACE_Parsed_Info::service_type () { return this->service_type_; } @@ -62,7 +62,7 @@ ACE_Parsed_Info::active (int a) } ACE_INLINE int -ACE_Parsed_Info::active (void) +ACE_Parsed_Info::active () { return this->active_; } @@ -79,7 +79,7 @@ ACE_Parsed_Info::path (const ACEXML_Char *p) } ACE_INLINE const ACEXML_Char * -ACE_Parsed_Info::path (void) +ACE_Parsed_Info::path () { return this->path_; } @@ -96,7 +96,7 @@ ACE_Parsed_Info::init_func (const ACEXML_Char *n) } ACE_INLINE const ACEXML_Char * -ACE_Parsed_Info::init_func (void) +ACE_Parsed_Info::init_func () { return this->init_func_; } @@ -113,13 +113,13 @@ ACE_Parsed_Info::init_params (const ACEXML_Char *n) } ACE_INLINE const ACEXML_Char * -ACE_Parsed_Info::init_params (void) +ACE_Parsed_Info::init_params () { return this->init_params_; } ACE_INLINE void -ACE_Parsed_Info::reset (void) +ACE_Parsed_Info::reset () { delete[] this->name_; this->name_ = 0; diff --git a/ACE/ACEXML/common/AttributesImpl.inl b/ACE/ACEXML/common/AttributesImpl.inl index 38dafd62d3e..603afa4cd20 100644 --- a/ACE/ACEXML/common/AttributesImpl.inl +++ b/ACE/ACEXML/common/AttributesImpl.inl @@ -4,7 +4,7 @@ #include "ace/OS_NS_string.h" ACEXML_INLINE -ACEXML_Attribute::ACEXML_Attribute (void) +ACEXML_Attribute::ACEXML_Attribute () : uri_ (0), localName_ (0), qName_ (0), @@ -38,7 +38,7 @@ ACEXML_Attribute::ACEXML_Attribute (const ACEXML_Char *uri, } ACEXML_INLINE -ACEXML_Attribute::~ACEXML_Attribute (void) +ACEXML_Attribute::~ACEXML_Attribute () { delete[] this->uri_; delete[] this->localName_; diff --git a/ACE/ACEXML/common/Attributes_Def_Builder.h b/ACE/ACEXML/common/Attributes_Def_Builder.h index 527e580aca2..a5e7ccf7285 100644 --- a/ACE/ACEXML/common/Attributes_Def_Builder.h +++ b/ACE/ACEXML/common/Attributes_Def_Builder.h @@ -66,7 +66,7 @@ public: /** * Get the name of the attribute. */ - virtual const ACEXML_Char *getName (void) = 0; + virtual const ACEXML_Char *getName () = 0; /** * Set the attribute type. @@ -89,12 +89,12 @@ public: * * @retval 0 if the attribute is not a valid combo. */ - virtual int validAttr (void) = 0; + virtual int validAttr () = 0; /** * Dump the content of the attribute definition. */ - virtual void dump (void) = 0; + virtual void dump () = 0; }; /** @@ -125,7 +125,7 @@ public: /** * Acquire an Attribute_Builder. */ - virtual ACEXML_Attribute_Def_Builder *getAttribute_Def_Builder (void) = 0; + virtual ACEXML_Attribute_Def_Builder *getAttribute_Def_Builder () = 0; /** * Add a definition for one attribute. diff --git a/ACE/ACEXML/common/URL_Addr.inl b/ACE/ACEXML/common/URL_Addr.inl index eba8ef80b3d..97b672ce185 100644 --- a/ACE/ACEXML/common/URL_Addr.inl +++ b/ACE/ACEXML/common/URL_Addr.inl @@ -54,7 +54,7 @@ ACEXML_URL_Addr::get_path_name () const } ACE_INLINE int -ACEXML_URL_Addr::destroy (void) +ACEXML_URL_Addr::destroy () { // Commit suicide. delete this; diff --git a/ACE/ACEXML/common/XMLFilterImpl.inl b/ACE/ACEXML/common/XMLFilterImpl.inl index 3fd4fab16e8..76b43286d4e 100644 --- a/ACE/ACEXML/common/XMLFilterImpl.inl +++ b/ACE/ACEXML/common/XMLFilterImpl.inl @@ -1,7 +1,7 @@ // -*- C++ -*- ACEXML_INLINE int -ACEXML_XMLFilterImpl::setupParser (void) +ACEXML_XMLFilterImpl::setupParser () { if (this->parent_ == 0) return -1; diff --git a/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.inl b/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.inl index aa910870833..002ebd8cd3e 100644 --- a/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.inl +++ b/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.inl @@ -1,13 +1,13 @@ // -*- C++ -*- ACEXML_INLINE void -ACEXML_SAXPrint_Handler::inc_indent (void) +ACEXML_SAXPrint_Handler::inc_indent () { this->indent_ += 1; } ACEXML_INLINE void -ACEXML_SAXPrint_Handler::dec_indent (void) +ACEXML_SAXPrint_Handler::dec_indent () { this->indent_ -= 1; } diff --git a/ACE/ACEXML/parser/debug_validator/Element_Tree.inl b/ACE/ACEXML/parser/debug_validator/Element_Tree.inl index 914b08d610b..0400b44713a 100644 --- a/ACE/ACEXML/parser/debug_validator/Element_Tree.inl +++ b/ACE/ACEXML/parser/debug_validator/Element_Tree.inl @@ -31,7 +31,7 @@ ACEXML_Element_Tree_Name_Node::set (const ACEXML_Char *name, } ACEXML_INLINE -ACEXML_Element_Tree_List_Node::ACEXML_Element_Tree_List_Node (void) +ACEXML_Element_Tree_List_Node::ACEXML_Element_Tree_List_Node () : type_ (SEQUENCE), head_ (0), tail_ (0), @@ -40,7 +40,7 @@ ACEXML_Element_Tree_List_Node::ACEXML_Element_Tree_List_Node (void) } ACEXML_INLINE ACEXML_Element_Tree_List_Node::LIST_TYPE -ACEXML_Element_Tree_List_Node::get (void) +ACEXML_Element_Tree_List_Node::get () { return this->type_; } @@ -53,7 +53,7 @@ ACEXML_Element_Tree_List_Node::set (ACEXML_Element_Tree_List_Node::LIST_TYPE typ } ACEXML_INLINE -ACEXML_Element_Tree_List_Stack::ACEXML_Element_Tree_List_Stack (void) +ACEXML_Element_Tree_List_Stack::ACEXML_Element_Tree_List_Stack () : top_ (0) { } |